Expand description
Column-level edge extraction.
Consumes a populated SqlStatementModel (SQLSEM-002 tables
plus SQLSEM-003 columns) and emits typed column-granular
dependency edges. Five edge kinds, picked from the column’s
ColumnResolution and whether its table is known:
ReadsColumn— resolved read of a specific column.WritesColumn— resolved write of a specific column.DerivesColumn— the column feeds a projection expression or star expansion (the value is derived, not a direct column-to-column dependency).ReadsUnknownColumnOfTable— read of an unresolved column while the table is known (bare column, multi-table scope).WritesUnknownColumnOfTable— same, on the write side.
This is the typed counterpart to SQLSEM-004’s string-encoded
ReadsColumn:<marker> facts; lineage consumes these enums
directly without re-parsing the marker.
§/oracle evidence
DATABASE-REFERENCE.mdPL/SQL Language Reference — the column reference + projection grammar.LOW-LEVEL-CATALOGS.mdData Dictionary View Families —ALL_TAB_COLUMNSresolves anUnknown*edge into a concreteReadsColumn/WritesColumnonce the catalog is available (the unknown-of-table variant preserves the table so that upgrade is possible).
Structs§
- Column
Edge - One column-granular dependency edge.
Enums§
Functions§
- extract_
column_ edges - Extract typed column edges from one statement model.
- extract_
column_ edges_ for_ model - Extract column edges for every statement in a model.