Part D · Chapter 14 · Trust

14. Lineage

Lineage is the path data takes from the systems where it is born to the numbers people read. Read backward, it says where a number comes from; read forward, it says what a change will break before it ships.

The loss ratio traced back, then a rename traced forward
Playback speed

The clip traces the board's loss ratio back through Harbour Mutual's estate, one hop at a time: from the semantic model to the warehouse's facts, to staging, to the source columns in the claims and billing systems. Then it runs the other way: the claims system renames its reserve column, and every column computed from it lights up, hop by hop, as far as the board's loss ratio and the ledger. The two columns that read reserve directly break; the premium side stays untouched.

The idea: every number has a path, and the path runs both ways

Lineage records, for each column, the columns it is computed from and how: copied, summed, mapped to a code list, divided. Joined up, those records form a path from every source column to every report.

  • Backward (where does it come from?): start at a number and walk to its sources. This is how Alex answers a regulator's question, or finds where a wrong figure went wrong (chapter 16).
  • Forward (what will it break?): start at a column someone wants to change and walk to everything computed from it. This is impact analysis: the columns that read it directly break; everything after them is reached, and wrong if the data is wrong.

Lineage at the level of tables ("the warehouse reads the claims system") is easy to draw and too coarse to answer either question. Column-level lineage is what tells Alex that renaming reserve breaks the loss ratio but not the loss-cause chart.

OpenLineage An open standard for lineage events: each job, each time it runs, says which datasets it read and wrote and, per output column, which input columns it came from. Catalogues and tools from many vendors read it. The lab writes its lineage as OpenLineage events and validates them against the official schema.
Remember Backward lineage tells you where a number comes from; forward lineage tells you what a change will break. Keep it at column level, and let the jobs record it as they run.

A worked example: the loss ratio, both ways

Backward from the board's loss ratio, the walk takes 4 hops and finds 4 source columns: claim_payments.amount, claims.reserve, premium_transactions.amount, premium_transactions.due_date. Forward from a rename of claims.reserve, it reaches 11 columns in 4 other systems; 2 of them read the column directly and break.

What a rename of claims.reserve reaches, hop by hop
HopColumnSystemEffect
1stg_claims.reserveData warehouseBreaks
1Claims postings.reserve_movementFinance ledgerBreaks
2fact_claim.incurred_amountData warehouseReached
2fact_claim.reserve_amountData warehouseReached
3Board semantic model.incurred_claimsBoard reportingReached
3Reserving triangle.case_reserveReserving workbooksReached
4Board semantic model.loss_ratioBoard reportingReached
4Board pack.incurred_quarterBoard reportingReached
4Reserving triangle.ibnrReserving workbooksReached
5Board pack.loss_ratio_quarterBoard reportingReached
5Reserve adjustments.ibnr_adjustmentFinance ledgerReached

Each job records its part of that path as it runs. Here is the nightly claims extract's event, as the lab writes it: the input and output datasets with their columns, and for each output column the input column it came from.

The nightly claims extract's lineage, as an OpenLineage run event (JSON)
[
  {
    "eventType": "COMPLETE",
    "eventTime": "2026-10-17T02:00:00Z",
    "producer": "https://cloud-data-architecture-lab.azurewebsites.net/tools/lineage-explorer",
    "schemaURL": "https://openlineage.io/spec/2-0-2/OpenLineage.json#/$defs/RunEvent",
    "run": {
      "runId": "bce4c0c9-26ec-3243-991b-332edf466b3a"
    },
    "job": {
      "namespace": "harbour-mutual",
      "name": "flow-claims-dw"
    },
    "inputs": [
      {
        "namespace": "harbour-mutual.sys-claims",
        "name": "claims",
        "facets": {
          "schema": {
            "_producer": "https://cloud-data-architecture-lab.azurewebsites.net/tools/lineage-explorer",
            "_schemaURL": "https://openlineage.io/spec/facets/1-2-0/SchemaDatasetFacet.json#/$defs/SchemaDatasetFacet",
            "fields": [
              {
                "name": "claim_id",
                "ordinal_position": 1
              },
              {
                "name": "claim_number",
                "ordinal_position": 2
              },
              {
                "name": "policy_id",
                "ordinal_position": 3
              },
              {
                "name": "loss_date",
                "ordinal_position": 4
              },
              {
                "name": "reported_date",
                "ordinal_position": 5
              },
              {
                "name": "cause",
                "ordinal_position": 6
              },
              {
                "name": "status",
                "ordinal_position": 7
              },
              {
                "name": "reserve",
                "ordinal_position": 8
              }
            ]
          }
        }
      }
    ],
    "outputs": [
      {
        "namespace": "harbour-mutual.sys-dw",
        "name": "stg_claims",
        "facets": {
          "schema": {
            "_producer": "https://cloud-data-architecture-lab.azurewebsites.net/tools/lineage-explorer",
            "_schemaURL": "https://openlineage.io/spec/facets/1-2-0/SchemaDatasetFacet.json#/$defs/SchemaDatasetFacet",
            "fields": [
              {
                "name": "claim_id",
                "ordinal_position": 1
              },
              {
                "name": "policy_id",
                "ordinal_position": 2
              },
              {
                "name": "loss_date",
                "ordinal_position": 3
              },
              {
                "name": "reported_date",
                "ordinal_position": 4
              },
              {
                "name": "cause",
                "ordinal_position": 5
              },
              {
                "name": "status",
                "ordinal_position": 6
              },
              {
                "name": "reserve",
                "ordinal_position": 7
              }
            ]
          },
          "columnLineage": {
            "_producer": "https://cloud-data-architecture-lab.azurewebsites.net/tools/lineage-explorer",
            "_schemaURL": "https://openlineage.io/spec/facets/1-2-0/ColumnLineageDatasetFacet.json#/$defs/ColumnLineageDatasetFacet",
            "fields": {
              "reserve": {
                "inputFields": [
                  {
                    "namespace": "harbour-mutual.sys-claims",
                    "name": "claims",
                    "field": "reserve",
                    "transformations": [
                      {
                        "type": "DIRECT",
                        "subtype": "IDENTITY",
                        "description": "copied",
                        "masking": false
                      }
                    ]
                  }
                ]
              }
            }
          }
        }
      }
    ]
  }
]
Try this In the Lineage explorer, trace the claims system's reserve forward with Rename, then change the change to Defect.

Why it matters for Alex

Every release of every system in both estates changes something. Without lineage, Alex learns what broke from the board pack, a week later. With it, a change request can say what it will touch before anyone approves it, and the owners of those reports can be asked first.

Lineage is also how Alex earns trust in a number: when the CFO asks where the combined loss ratio comes from, the answer is a path, not a promise.

Where it goes wrong

  • Hand-drawn diagrams. A lineage picture drawn once for an audit is wrong by the next release. Harvest it from the jobs and the scanners.
  • Tables, not columns. Table-level lineage says everything depends on everything; it cannot answer "what does this column break?"
  • Gaps at the spreadsheets. The reserving workbook typed into the ledger by hand is exactly where lineage stops. Record those hops too, even by hand, and mark them.
  • Lineage nobody reads. Put the forward walk into the change process: no release that touches a column without its impact list.

Exercises

The lab checks each one against facts written down in advance, so any answer the brief allows passes. A pass is kept in this browser.

Trace each figure back

Each figure below is in the board's semantic model. Choose a source column it comes from: walk its lineage backward, in the Lineage explorer if you like.

claims_reported
claims_by_cause
incurred_claims
earned_premium

Find the impact of three changes

Three changes are proposed for next month's releases. For each one, choose how far it reaches: walk its lineage forward.

The claims system renames claims.reserve to case_reserve.
The claims system drops claims.reported_date, because the broker portal now records it.
BI changes the semantic model's loss_ratio from a fraction to a percentage.

Read the OpenLineage event

Each statement is something the nightly claims extract's event (shown in the chapter) says. Choose the field of the event that says it.

The run finished.
The job that ran was the nightly claims extract.
It read the claims system's claims table.
It wrote the warehouse's staging table.
The staged reserve comes from the claims table's reserve column.
The column was copied as it was.

On Azure

Checked against Microsoft's documentation on 18 October 2026.

On Azure, lineage lives in the Microsoft Purview Data Map:

  • Harvested from the pipelines: Azure Data Factory and Azure Synapse pipelines report lineage to Purview as they run, and Power BI's lineage from datasets to reports is brought in with the Power BI scan.
  • Scanned: scans of some sources bring their lineage with them; Azure Databricks' Unity Catalog records lineage of its own, at table and column level, which a Purview scan can read.
  • Added by hand or by code: for the hops no tool sees (the reserving workbook typed into the ledger), the Data Map's Apache Atlas-based API takes custom lineage.
  • Impact analysis is the same graph read forward, in the Data Map's lineage view.

Keep the lineage the jobs write in OpenLineage as well: it is the open format other catalogues and tools read, and a small job can translate it into Purview's API.

Take it to work

Change impact check

Find what a proposed change to a column will reach before anyone approves it.

The change

  • Which column, in which system?
  • Rename, drop, change of type, or new values?

Forward lineage

  • The columns that read it directly (they break)
  • Everything computed from them, and the reports at the end

The owners

  • Who owns each report or system reached? Who must agree first?

The plan

  • What changes with it, in which order, and how is it tested?
  • How is the lineage itself updated?

Tools in this chapter

  • Lineage explorer · Trace a number back to its sources, or a change forward to everything it breaks.

Terms taught here: LineageImpact analysisOpenLineage

An unhandled error has occurred. Reload 🗙

Reconnecting…

Your connection to the Cloud Data Architecture Lab dropped, probably a Wi-Fi blip. Hold on while it reconnects.

The connection could not be restored. The page will reload in a few seconds.