Lineage

Lineage is the record of where every value in the Ontology came from and everything that depends on it. It is kept at column level, from the column in the source system, through each dataset and step, to the object property a person reads and the action they took because of it. You can walk it backwards to explain a decision or forwards to see what a change will break

GranularityColumn to property, with row filters recorded as control edges
CapturedAt build, at sync and at action commit, never inferred after the fact
VersionedEvery edge carries the build, dataset version and ontology revision
RetentionKept as long as the audit log

In the platform today

Built
  • Table-level lineage is built
  • Every pipeline build, model training and batch scoring run records input to output edges, and the catalogue joins them with each pipeline's declared steps and each backing dataset's object table
  • GET /api/v2/catalog/datasets/{table}/lineage walks them up, down or both, up to 10 hops, leaves out nodes the caller cannot see rather than redacting them, and warns about deprecated inputs
  • Controlled tags flow down the same edges
On request
  • Column-level edges, properties, functions, actions, agent runs, decision provenance, impact analysis and OpenLineage export on this page

What lineage records

The lineage graph is a directed graph of nodes and edges. Nodes are the things that hold or produce values. Edges say how one value was derived from another. The graph spans two systems that most platforms keep apart: the data catalogue, which knows about tables and columns, and the Ontology, which knows about objects, properties, actions and agents. Lineage joins them, so a single query can go from a column in the point-of-sale database to the approval of a top-up

Nodes are source and dataset columns, pipeline steps, object properties, derived properties, functions, action parameters, decisions and agent runs. Edges are typed: they say whether a value was copied, computed, aggregated or filtered, backs a property, derives another, parameterizes an action or informs a decision. The type matters a great deal when you ask "if this column is wrong, what else is wrong"

The lineage graph

The diagram follows a single number through the illustrative creamery: the count of caramel tubs on hand at scoop shop SHP-HFX. It starts as a column in the point-of-sale database, becomes a property on the Scoop shop object, feeds the weekend shortfall, and ends up as one of the facts behind a decision to add 7 tubs to delivery DLV-5521, which stops at that shop

Data catalogue Source columnpos.stock_counts.cabinet_qty Raw dataset columnraw.pos_stock_counts.cabinet_qty Pipeline shopssteps shop_stock, then shops one build, DuckDBadds cabinet_qty, backroom_qtyfilters on pack_format Backing dataset columngold.shops.stkCar Delta version 1,882expectation: no tubs if closedpassed aggregates backs Ontology Scoop shop.stkCarSHP-HFX, object version 9,204 shortweekend_cover@3.2.0, 7 tubs top-up-deliverytubs = 7 derives informs cited Decisions alog_01J9Z7K3QF2M8V6T0R4N5B7C9Dapproved by planner Agent run run_7KQ2, step 5cited short when proposing the top-up
Each box is a node with a version. Following the edges backwards from the decision gives the exact source column, build and object version that the planner saw when they approved the top-up

Two details in the graph are easy to miss. First, the step records a filters edge from raw.orderdesk_items.pack_format: that column supplies no value to stkCar, but if it were wrong, pints might be counted as tubs or a flavour might disappear. Second, the decision node is linked to the agent step that cited the shortfall, so the record shows both what the agent read and what the person saw

How lineage is captured

On request, every service that moves a value records the edge as it moves it, from source column to property, function, action and agent run. Lineage is never reconstructed from logs or guessed from column names

The catalogue sync registers the lake's tables in an open-source Unity Catalog server, so other engines find them, while lineage stays in the platform's catalogue. On request, lineage is also exported in the OpenLineage format, so you are not dependent on our interface to read your own lineage

Tracing a decision backwards

On request, any applied action traces back to the values that informed it, each with its path to source, as the caller can see them. The answer is pinned to the versions that existed when the action was applied, so a later correction to the source does not rewrite history

Impact analysis

Impact analysis walks the graph forwards. Point it at a source column, a dataset column, a property or a function version, and it returns everything downstream, ranked by how directly each item depends on the change. It runs automatically on every proposal and every pipeline change, and on demand from the lineage view or the API

In the platform service today, table-level impact comes from the pipelines themselves: GET /api/v2/datasets/staleness lists every pipeline output that is out of date and why, including upstream when an output it reads is itself out of date, and POST /api/v2/datasets/{name}:build builds a table with the out-of-date ancestors it needs, as described on pipelines. Model change sets check which actions, functions, agents, metrics and pipelines still use a removed or renamed type, property or link. Column-level impact as described here is delivered on request

On request, each downstream item is classified by what the change would do to it, from breaking to informational, and a breaking change blocks a proposal until each owner updates the item or acknowledges it. Past decisions are listed for information only, since history is never rewritten

Run impact before a source upgrade

Point-of-sale and ERP upgrades often rename columns. Run impact analysis against the vendor's new schema on a branch, and you get one list of every property, function, action and agent that needs attention before the cut-over weekend

Lineage and security

The lineage graph is permissioned like everything else. Reading a node requires read access to the thing it describes: a dataset column needs a catalogue grant, a property needs object and property access, a decision needs access to the action log for that action type. Edges are visible when both ends are visible. A path through a node you cannot see is shown with the node redacted, never silently cut

Lineage is also the mechanism that carries access labels. When a pipeline output column has an incoming edge from a column that carries SUPPLIER-CONF, the output inherits the access label at build time. The same rule applies to backs and derives edges, so a derived property computed from a cost that carries FINANCE inherits FINANCE. Only filters edges are treated differently by default: a column that decides which rows exist propagates its access labels to the output dataset as a whole, not to each column. Declassification is a lineage event too, recorded as a node of kind declassify with the approver

Lineage API

Today GET /api/v2/catalog/datasets/{table}/lineage walks table-level lineage, as described at the top of this page. On request, an API reads the full graph upstream and downstream, runs impact analysis and reads the graph as it stood at a past moment, with the Python client wrapping the same calls

Export and retention

On request, lineage events are written to the same export target as the audit log, as OpenLineage run events for builds and as Markland Street lineage events for ontology, action and agent edges, and kept as long as the audit log. Because every edge carries the versions it connects, the exported graph is self-contained: with the exported lineage and your Delta tables you can reconstruct the path to any past decision without the platform running

Deleting a dataset does not delete its lineage

When a dataset is removed or a property is retired, its nodes are kept and marked retired so past decisions remain explainable. Removing lineage before the retention period ends requires a legal hold release and is recorded in the audit log

Limitations

  • Lineage is column-level with version pointers, not row-level
  • Only movements made through the platform are recorded; a value changed in a source system or copied by an outside tool has no edge until it arrives through a connector
  • A node you cannot read is shown redacted, so a path can be visible without its values, and its owner has to answer what is behind it
  • Traversals stop at the depth you set, up to 10 hops in the platform service today
  • Impact analysis reports past decisions for information only; history is never rewritten, even when a source value behind a decision is corrected
  • Retired nodes cannot be removed before the retention period ends without a legal hold release

Related