The engineer's eye

Lineage as a transit map

Lineage tools draw hairballs: boxes, arrows, and a force layout that puts two tables near each other for reasons nobody can state. Harry Beck had the same problem with the Underground and solved it by throwing geography away. Lineage never had any geography to throw away. So here is one warehouse drawn his way: source systems as lines, tables as stations, conformed tables as interchanges.

Click fct_sales: it sits at the end of lines with tables upstream. Then click in Zone 1:

The table map

Each line is a source system and runs through every table its data reaches. A tick is a station on one line; a white capsule is an interchange where lines meet. Hover for details; click a station to light its upstream and downstream; click empty space to clear.

One column, end to end

Table lineage overstates. A station on the CRM line only means some table upstream came from CRM, not that any of its columns did. At table level of the facts sit on the CRM line. Trace their columns and . The other CRM attributes stop at dim_customer or earlier and reach a report only through the join. The strip map below follows a single column the same way a carriage strip map follows one route.

Column strip map

Pick a Gold column to trace it back to the Bronze columns it came from, or a Bronze column to trace it forward. Tracks wear the color of the source the data originated in; a capsule is a column built from more than one source.

Notes

← The engineer's eye