add explanatory comment

This commit is contained in:
Pablo Martin 2024-09-19 11:57:13 +02:00
parent ae1e45a937
commit cf7a8917a8

View file

@ -30,6 +30,11 @@ clean-targets: # directories to be removed by `dbt clean`
# files using the `{{ config(...) }}` macro.
models:
+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:
staging:
+materialized: table