Overview
Curated: · Written: · Reviewed:
Data Catalog & Lineage
In one line
A data catalog records what a dataset is: its definition, owner, schema, classification and certification status. Lineage records where it came from and what depends on it. Reach for both when deciding whether a dataset is safe to reuse, change, retire or trust.
Key definitions
- Logical dataset: the conceptual asset. A distribution is one accessible form of it, such as a CSV file, a Parquet file or an API (DCAT 3 terms).
- Stable identity: an immutable ID assigned at creation. Display names and aliases are mutable attributes.
- Upstream root-cause tracing: walking backward from a wrong number to the earliest source of the anomaly.
- Downstream impact analysis: the transitive closure from a proposed change, enumerating what breaks.
- Static lineage: what the pipeline declares at build time, such as dbt's
manifest.jsonor parsed SQL. Dynamic lineage: what actually executed, from run events and query logs. - Job, run, dataset (OpenLineage): a job has a namespace and name; each execution is a run with its own UUID; a dataset has a namespace and name.
How it works
Harvesters populate technical metadata such as schema, location and statistics. Accountable humans maintain business meaning and policy. Orchestrators and engines emit run events at execution boundaries. The ingestion service keys each event by run identity, applies lifecycle states and publishes edges. Declared and observed lineage are reconciled, and each edge records its capture method, version and evidence time. Search and impact queries run over that graph, and access control filters what each user can see.
When to use and when not to
| Decision | Table-level lineage | Column-level lineage |
|---|---|---|
| Triage after a dataset rebuild | Sufficient | Not needed |
| Dropping or retyping a column | Finds consumers only | Required, with recent-use evidence |
| Tracing a classified field, such as a hashed email into a dashboard | Insufficient | Required |
| Debugging a shared metric | Partial | Required |
| Retiring an asset | Starting point | Add query telemetry and owner confirmation |
Traps interviewers probe
- Treating the catalog as lineage. A search box answers what a dataset is, not what breaks if it changes. Fix: name both traversals and the graph behind them.
- Trusting a START event. START shows the run began, not that it wrote valid data. Fix: publish output edges on COMPLETE, record FAIL and ABORT as states, and never let an older event overwrite a completed run.
- Keying lineage by display name. A rename fragments history, and a reused name conflates two tables. Fix: key by an immutable asset ID and keep names and aliases as attributes.
- Reading completeness as accuracy. A dashboard at 98% completeness shows that fields are filled, not that they are correct. Fix: sample values and measure accuracy separately.
- Assuming the declared graph is the whole truth. Static parsers miss runtime branches and dynamically built SQL. Fix: reconcile against run evidence and recent query use, and label the blind spots.
Interview tips
Open by separating the two artifacts: the catalog answers what the dataset is, and lineage answers where it came from and what breaks. Then name the decision the question serves.
Expect these follow-ups: how a rename keeps history intact, how failed runs appear in the graph, how you would audit lineage completeness for a regulator, who is accountable for each metadata field, and what column scope a dropped column needs.
30-second outline: "The catalog tells me what a dataset means. Lineage tells me where it came from and what depends on it. For this change I would run downstream impact at column level, intersect the result with actual recent queries, and name the consumers the graph cannot see. Edges come from reconciled declared and observed lineage, keyed by stable IDs. For a wrong number I trace upstream from run-level evidence: which run, which code version, and which input versions it read. I confirm any retirement with owners before acting."
Feedback on this overview
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.