Skip to content

Instantly share code, notes, and snippets.

@drewbanin
Created April 30, 2025 16:14
Show Gist options
  • Save drewbanin/ee508d4b89e5333d679a361d5cdaa7ac to your computer and use it in GitHub Desktop.
Save drewbanin/ee508d4b89e5333d679a361d5cdaa7ac to your computer and use it in GitHub Desktop.
-- orders.sql
SELECT stg_orders.id as order_id from {{ ref('stg_orders') }}
orders.order_id
depends on --> stg_orders.id
{
"column_lineage": {
"orders.order_id": {
"node_id": "orders",
"parents": [
{"id": "stg_orders.id", "op": "copy", "node_id": "stg_orders"},
...
]
},
"stg_orders.id": {
"node_id": "stg_order",
"parents": [
...
]
}
},
"nodes": {
"stg_orders": { ... },
"orders": { ... },
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment