Slide 11
Slide 11 text
dbtの根幹:ref, source
select
*
from {{ source(‘staging’, ‘employees’) }}
source : データの源泉
ref : dbtのモデル名(テーブル名)
with customers as (
select * from {{ ref('stg_customers') }}
),
orders as (
select * from {{ ref('stg_orders') }}
),
...
この仕組みのお陰で、
DAG(順番期にしなくていい)、リネージ
が実現できている