top | item 28541740

(no title)

rpedela | 4 years ago

DBT has two main innovations. First, everything is a SELECT statement and DBT handles all the DDL for you. You can handle DDL yourself if you have a special case too. Second, the ref/source macros build a DAG of all your models so you don't have to think about build order. There are other innovations but those are the main ones.

You can give it truly pure SQL in both models and scripts, and mixing in Jinja if you need it for dynamic models. But I'd recommend at least using ref/source.

discuss

order

CRConrad|4 years ago

Still not sure I got all that -- gotta look into it some more -- but maybe I know a little more now. Thanks!