comment vacuum analyze to run weekend test
This commit is contained in:
parent
4ff1375160
commit
a08941c5dc
1 changed files with 7 additions and 6 deletions
|
|
@ -36,9 +36,10 @@ models:
|
||||||
# it's very fitting for our needs. You can read more here:
|
# it's very fitting for our needs. You can read more here:
|
||||||
# https://www.crunchydata.com/blog/postgresl-unlogged-tables
|
# https://www.crunchydata.com/blog/postgresl-unlogged-tables
|
||||||
dwh_dbt:
|
dwh_dbt:
|
||||||
+post-hook:
|
# VVVVVVVVVVV Commented for testing purposes. We probably wanna uncomment eventually!!!
|
||||||
sql: "VACUUM ANALYZE {{ this }}"
|
# +post-hook:
|
||||||
transaction: false
|
# sql: "VACUUM ANALYZE {{ this }}"
|
||||||
|
# transaction: false
|
||||||
# ^ This makes dbt run a VACUUM ANALYZE on the models after building each.
|
# ^ This makes dbt run a VACUUM ANALYZE on the models after building each.
|
||||||
# It's pointless for views, but it doesn't matter because Postgres fails
|
# It's pointless for views, but it doesn't matter because Postgres fails
|
||||||
# silently withour raising an unhandled exception.
|
# silently withour raising an unhandled exception.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue