Page MenuHomePhabricator

dbt: Use custom schemas
Closed, ResolvedPublic

Description

Right now we are using the default dbt schema names, which are based on profiles.yaml and prefixes.

We have to change this to allow Airflow (Production) to write in the schemas we want, while dev environments (manual runs on Stat hosts) will write into personal schemas.

dbt has documentation about how to do this with configs and custom macros

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Using custom schemesrepos/data-engineering/dbt-jobs!32javiermontonfeature/custom-schemesmain
dbt target namerepos/data-engineering/airflow-dags!2175javiermontonfeature/dbt-target-productionmain
Customize query in GitLab

Event Timeline