Sources

Sources are how dbt tracks raw, untransformed tables that live in your warehouse but were loaded by something other than dbt. You declare them in schema.yml under a sources: block, then reference them in models with {{ source('raw', 'customers') }}.

In this lesson you will declare a source, replace direct raw table references with source(), and see the source appear as a green node in the DAG.

Loading the interactive tutorial… If this message stays, please enable JavaScript.