Data lineage
Data lineage is Fontana’s record of how a value in a workflow run came to be: which upstream ports supplied it, which transforms and validations touched it, which lookups enriched it, and which nodes produced the result you inspect.
Lineage is atomic: the engine attaches it at row and column level, not only as a workflow summary. For any cell you can see which step changed it and which source it came from, including when conditional logic sent rows down different paths.
Each hop names the node and the usage that produced the change. Overview walks the chain back from the cell you select, and an OpenLineage backend can receive the run’s events.
What lineage records
Section titled “What lineage records”Operations that derive data emit pointer-based sources. Those sources may themselves have lineage, forming a recursive tree you walk in Flow from a selected cell back through upstream nodes.
A column mapping that maps two or more columns one to one stores one hop per row plus a shared column map, not one hop per cell. Overview, Explore SQL, and cell hover still expand the column you inspect. A single renamed column stays a cell hop, so queries by the new name keep working.
| Stage | What lineage records |
|---|---|
| Ingress | The origin of rows a source operation attaches to the run (file, connector, or API) |
| Transform and validate | Formula statements, lookups, merges, scripts, column mapping, and AI-assisted transforms |
| Conditional processing | Filters, validations, and conditions that include or exclude rows, and the branches that contributed to each output |
| Egress | The same chain on the run, so you can inspect an output cell against the nodes that produced it |
How sources are described
Section titled “How sources are described”Each lineage link carries a usage type that explains why that source contributed to the result:
| Usage | Meaning |
|---|---|
| loaded | The row or field came from an external source (file upload, connector, API) |
| transformation | The source value was transformed (for example string, date, or decimal operations) |
| lookup | The source was matched and enriched from a lookup dataset |
| merge | The source was combined with other inputs |
| reference | The source passed through unchanged |
| computed | The source was used in a function or script |
| aggregated | The source contributed to a grouped or rolled-up result |
| generated | The source was used to generate new values (a query, subgrid, column mapping, or AI output) |
| filtered | The source passed through a filter or validation (row included or excluded on a branch) |
Usage types and node references together show what data was used to calculate a result and which branches were involved when filters, validations, or graph paths split the processing.
View lineage in Flow
Section titled “View lineage in Flow”You inspect provenance without leaving the app. Click a cell on a node’s Explore tab to select it, then open Overview from the workflow toolbar.
- Tree: walks that cell back through upstream nodes with usage labels.
- Sources and Impact: list the hops in a grid.
- Graph: places the selected cell in the middle, sources above, and impact below; switch to left-right in the graph controls. Each hop shows its cell value, matching Tree, so you can see the value change along the chain. When a hop’s value differs from the upstream hop, Graph and Tree mark that value as Explore does, with green label text and a green status dot; identity hops that pass the same value through stay unmarked. The graph starts fitted to the Overview pane, and you can pan and zoom.
- Writing operations: when an operation on the node wrote the selected cell, Overview walks one hop per writing operation on that field. Tree, Graph, Sources, and Impact share that walk, and Graph shows a box per writing operation. Click a hop to select the host node and cell and open that operation on Explore.
Other surfaces show lineage alongside the data:
- Data styles: set a style on a source column where the data enters, for example
setStyle("ISIN", "background", "pink"). The style follows every value computed from that column, so in any downstream Explore view you can read column by column which source a value came from. See Data styles. - Cell changes: a green dot marks a cell whose value changed. Show changes in the table layout shows changes this node made. Show upstream changes shows changes an earlier node made, including on a node that exports with
toFile. Hover the dot to see the earlier value and the new value. - Row gutter hover: the thin left-hand column shows audit and lineage for the whole row.
- Workflow data view: port-level datasets per node for the active run.
- Audit panel: audit items (validation outcomes, transform events, manual edits) beside lineage for the same run.
Lineage answers provenance; audit items answer events on the row. Both are part of inspecting run data.
Run-scoped provenance
Section titled “Run-scoped provenance”Lineage lives with the run. You inspect it in Flow against the same snapshot as that run’s datasets and file exports (see Egress).
OpenLineage export
Section titled “OpenLineage export”You can push run, job, and dataset events to an OpenLineage backend when a workflow run finishes. In Admin → Lineage you set one public HTTPS endpoint and one write-only bearer token. An empty endpoint turns export off.
- When events post: the workflow engine sends START, then COMPLETE or FAIL after the run ends.
- What the events contain: jobs and datasets projected from Fontana’s pointer-based lineage. The job and dataset namespace is your tenant domain. Job names lead with the workflow and node titles you see in Flow, with stable ids after a middle dot (
·). Marquez stores parented node jobs as{workflowJob}.{nodeJob}, and Flow deep links use that full catalog name. Column-level lineage is included where Fontana recorded a column on the hop, and is empty for row-level hops such as AI nodes and columns the node did not write. - How Flow relates: Overview and the inspector read Fontana’s own lineage model. OpenLineage is an export for catalog and observability tools that consume the standard.
What you use lineage for
Section titled “What you use lineage for”In a regulatory or audit review, lineage shows which inputs and transforms produced a reported figure. In incident analysis, it isolates when a value changed and which step introduced an error. The tree you walk in Overview is the same record a compliance reviewer reads. Your catalog or observability backend ingests the same runs as standard OpenLineage events.
Lineage is part of the audit items the engine keeps for every run.
Related documentation
Section titled “Related documentation”- Storage and processing: the Fontana data principles
- Ingress: where loaded lineage begins
- Egress: exporting datasets with provenance
- Compliance evidence: workflow lineage overview
- Security: SOC 2 control summary
- Workflow orchestration: execution model and node families