dbt 中級
Mike Metzger
Data Engineer
tests 目錄中以 .sql 檔定義
order_total >= subtotalselect *
from order
where order_total < subtotal
assert_order_total_gte_subtotal.sql
ref 函式select *
from {{ ref('order') }}
where order_total < subtotal
dbt test --select <testname> 選項dbt 中級