Area: Lineage Sub-Area: Viewing lineage
Applies to: OSS + Cloud
Data Lineage in DataHub - Presentation Outline (transcript below)
I. Use Case Introduction
- Scenario: Sarah from the Business Intelligence team needs to document data sources
- Task: Understand exactly where the order entry dashboard data comes from
- Context: Preparing for an upcoming audit
- Challenge: Manual tracing would take hours
- Solution: DataHub automatically maps the complete data lineage
II. Dashboard Overview (Level 1)
-
Asset: Order Entry Dashboard
-
Contains: Four key visualizations
- Popular Products
- Promotions
- Order Mode
- Orders by Day
III. First Level Lineage (Level 2)
- Flow: The Order Details table is upstream of the dashboard. Its data flows into the dashboard.
- Observation: All the dashboard's information comes from a single source table
IV. Table Level Lineage (Level 3)
- Source table: Single Snowflake table, the Order Details table
- Composition: Data from multiple upstream sources consolidated
V. Upstream Table Structure (Level 4)
- Count: 11 upstream tables
- Platform: All tables located in Snowflake
- Relationship: Multiple sources feeding into a single table
VI. Complete Data Journey (Level 5 - End-to-End)
Source to Destination Flow:
- Source: Postgres database (source system)
- First transformation: Spark jobs (data processing)
- Intermediate storage: S3 (data lake)
- Second transformation: Additional Spark jobs
- Data warehouse: Snowflake (destination)
- Final transformation: dbt model creates a view in Snowflake
VII. Column-Level Lineage
- Granularity: Trace lineage at column level
- Where: Open the entity's Lineage tab and use the Explorer view (the graph)
- Method: Expand a table's columns, then hover over or click a column that has lineage
- Single column: Click the breadcrumb on a column to open lineage focused on that column
- Result: Immediate visibility into data origins for specific fields
- Benefit: Detailed documentation capabilities
VIII. Key Benefits
- Speed: Instant visibility vs. hours of manual work
- Completeness: Automatic mapping of the entire data flow
- Ease of use: Quick navigation through lineage
- Documentation: Easy to understand and document for audits
- Granularity: Asset-level and column-level traceability
- Accessibility: Business users can self-serve lineage information
IX. Summary
- Problem solved: Sarah can quickly document the complete data flow for the audit
- From: Source Postgres database
- Through: Multiple transformation layers (Spark, S3, dbt)
- To: Final dashboard visualizations
- Detail level: From high-level dashboard down to individual columns
- Result: Comprehensive, auditable data lineage documentation
=== TIMESTAMPED TRANSCRIPT ===
[0.00s - 9.64s]: Sarah from the Business Intelligence team needs to understand exactly where the data in our [9.64s - 12.12s]: order entry dashboard comes from. [12.12s - 15.56s]: She's been asked to document our data sources for an upcoming audit. [15.56s - 19.20s]: Let me show you how DataHub can automatically map the complete data lineage for our [19.20s - 20.84s]: order entry dashboard. [20.84s - 25.16s]: Instead of Sarah spending hours manually tracing through the systems, she can see everything [25.16s - 26.16s]: instantly. [26.16s - 32.56s]: At the first level, you can see this is a dashboard contains four key visualizations, [32.56s - 39.28s]: popular products, promotions, order mode, orders by day. [39.28s - 44.20s]: The next level, we can see it flows into the order details. [Order Details is the dashboard's upstream source.] [44.20s - 49.48s]: Look, you're getting all the information fed into a single snowflake table, the order [49.48s - 51.48s]: details table. [51.48s - 56.84s]: This table is comprised of 11 upstream tables all in snowflake. [56.84s - 61.92s]: The data movement is coming from a source system, Postgres, flowing through Spark jobs, which [61.92s - 68.20s]: then go to S3 and again through more Spark jobs into snowflake, which then use a dbt model [68.20s - 72.20s]: to build out our view inside of snowflake. [72.20s - 77.20s]: This gives her a quick, easy way to find out and understand and document even at a [77.20s - 82.60s]: column level where each one of these assets is driving their data from. [82.60s - 87.20s]: Quickly by clicking on the columns, she can see that information immediately.