add explanatory comment
This commit is contained in:
parent
ae1e45a937
commit
cf7a8917a8
1 changed files with 5 additions and 0 deletions
|
|
@ -30,6 +30,11 @@ clean-targets: # directories to be removed by `dbt clean`
|
||||||
# files using the `{{ config(...) }}` macro.
|
# files using the `{{ config(...) }}` macro.
|
||||||
models:
|
models:
|
||||||
+unlogged: true
|
+unlogged: true
|
||||||
|
# ^ This makes all the tables created by dbt be unlogged. This is a Postgres
|
||||||
|
# specific setting that we activate for performance. It has deep implications
|
||||||
|
# on how Postgres handles tables and is typically considered crazy risky, but
|
||||||
|
# it's very fitting for our needs. You can read more here:
|
||||||
|
# https://www.crunchydata.com/blog/postgresl-unlogged-tables
|
||||||
dwh_dbt:
|
dwh_dbt:
|
||||||
staging:
|
staging:
|
||||||
+materialized: table
|
+materialized: table
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue