Global materialized
config overrides more specific package config
#3148
Labels
content
Improvements or additions to content
improvement
Use this when an area of the docs needs improvement as it's currently unclear
Contributions
Link to the page on docs.getdbt.com requiring updates
Although it is mentioned in the docs in a few different places, it's still not super obvious to an end user how
models:
withindbt_project.yml
will behave when there are installed packages:dbt-labs/dbt-core#7277 has more context.
What part(s) of the page would you like to see updated?
Suggested improvements
Order of precedence for (model) configs
The order of precedence for configs is as follows (highest priority first):
config()
Jinja macro within a modelconfig
resource property in a.yml
filedbt_project.yml
file, under themodels:
key -- deepest nested being highest priorityconfig()
Jinja macro within a modelconfig
resource property in a.yml
filedbt_project.yml
file, under themodels:
key -- deepest nested being highest priorityI'm guessing that same precedence applies to some other resources like snapshots, seeds, etc as well, but didn't confirm/deny.
Additional information
No response
The text was updated successfully, but these errors were encountered: