What is column-level lineage? A short answer
The starter version: what column-level lineage means, why table-level is not enough, and where it belongs in a modern data stack.
Column-level lineage is the graph that tells you which upstream columns feed each downstream column. It is the wiring diagram of your warehouse - not just “which tables depend on which tables”, but “the arr column on the monthly_revenue table is computed from orders.amount times orders.plan_multiplier, and it flows into the y-axis of the CFO’s revenue dashboard.”
Table-level lineage tells you monthly_revenue depends on orders. Column-level lineage tells you monthly_revenue.arr depends on orders.amount and orders.plan_multiplier specifically. That extra precision answers a strictly different set of questions than table-level, and if your team asks those questions, the extra graph pays for itself.
The concrete difference
Take a real query:
CREATE TABLE monthly_revenue AS
SELECT
date_trunc('month', orders.created_at) AS month,
SUM(orders.amount * orders.plan_multiplier) AS arr,
COUNT(DISTINCT orders.customer_id) AS paying_customers
FROM orders
WHERE orders.status = 'active';
Table-level lineage renders this as one edge: orders -> monthly_revenue.
Column-level lineage renders it as five edges:
monthly_revenue.monthfromorders.created_atmonthly_revenue.arrfromorders.amountandorders.plan_multipliermonthly_revenue.paying_customersfromorders.customer_id- (filter) all outputs depend on
orders.status
Two things are worth noticing. arr genuinely comes from two columns, and a tool that flattens that to one loses the audit story. And the filter orders.status = 'active' shows up as a dependency even though it never appears in the output row - if the meaning of status = 'active' changes upstream, every column in monthly_revenue is affected.
When it matters
Four questions where column-level lineage earns its build cost:
- PII compliance. When your data protection officer asks “which dashboards read
users.ssn”, table-level says “everything downstream ofusers”. Column-level gives the right answer. - Schema change impact. You are about to rename
orders.amount. Table-level tells you 20 downstream tables depend onorders. Column-level tells you 3 of them actually referenceamount. The difference is between reviewing 3 PRs and reviewing 20. - Metric drift audit. Two dashboards both report
arr. Table-level says they both depend onorders. Column-level shows one derives fromorders.amount * plans.multiplierand the other fromorders.gross_amountalone. That is the drift. - Metric deprecation. You want to retire
orders.legacy_amount. Column-level tells you exactly which artifacts touch it, so the delete becomes safe instead of scary.
If two or more of those questions ring true for your team, you need column-level. If none do, table-level is enough.
Where it comes from
There are four common ways to build column-level lineage: parsing SQL into an AST and walking it, static regex-based analysis, runtime capture from the query engine, or manual declaration in a schema DSL. Each has real strengths and specific failure modes. We wrote the long-form version of that story at column-level lineage: what it is, why table-level isn’t enough, and how to actually get it. Read that if you are picking an approach.
The industry-standard event shape for runtime-captured lineage is OpenLineage, which is worth knowing whichever tool you eventually adopt.
Why this matters for a data team
Column-level lineage is one of the quiet upgrades. Nobody demands it until they have to answer a compliance question, run a schema-change PR, or audit metric drift. Then it is the difference between a five-minute answer and a five-week investigation. If you have not built it yet and any of the four questions above is on your near-term horizon, this is the graph worth investing in. The long-form playbook is here.