Project hooks with source freshness
Removed in dbt Core v2
This flag was removed in dbt Core v2 and in Fusion. The new behavior is always enabled. If you're upgrading, remove this flag from your dbt_project.yml.
| Loading table... |
Project hooks (on-run-start / on-run-end) now run as part of the dbt source freshness command by default. Previously, hooks did not execute during dbt source freshness.
If you have hooks that should not run before or after dbt source freshness, add a conditional check:
dbt_project.yml
on-run-start:
- "{{ ... if flags.WHICH != 'freshness' }}"
Was this page helpful?
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
0