For AI agents: a Markdown version of this page is at https://docs.snowplow.io/docs/modeling-your-data/modeling-your-data-with-dbt/package-mechanics/dispatch.md. The index of all documentation pages is at https://docs.snowplow.io/llms.txt, and the index for this section is at https://docs.snowplow.io/docs/cdi/llms.txt.
Dispatch setup for dbt packages
Some of the functionality of our packages overwrites the default functionality of dbt core. To enable the use of our version over dbt, you must add the following must be added to your dbt_project.yml file once.
ymldbt_project.yml
dispatch:
- macro_namespace: dbt
search_order: ['snowplow_utils', 'dbt']
This will ensure that, when it exists, our version of a macro is used over the dbt-core version.