Skip to main content

Module lineage

Module lineage 

Source
Expand description

Column Lineage Tracking

This module provides functionality to track column lineage through SQL queries, building a graph of how columns flow from source tables to the result set. Supports UNION/INTERSECT/EXCEPT, CTEs, derived tables, subqueries, and star expansion.

Structs§

LineageNode
A node in the column lineage graph
LineageWalker
Iterator for walking the lineage graph

Functions§

collect_source_tables
Recursively collect source table names from lineage graph
get_source_tables
Get all source tables from a lineage graph
lineage
Build the lineage graph for a column in a SQL query