-
Notifications
You must be signed in to change notification settings - Fork 977
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New state:modified.vars
selection method
#6222
Conversation
…ate_modified_compare_vars behavior` flag (off by default)
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -210,6 +210,7 @@ Because state comparison is complex, and everyone's project is different, dbt su | |||
- `state:modified.relation`: Changes to `database`/`schema`/`alias` (the database representation of this node), irrespective of `target` values or `generate_x_name` macros | |||
- `state:modified.persisted_descriptions`: Changes to relation- or column-level `description`, _if and only if_ `persist_docs` is enabled at each level | |||
- `state:modified.macros`: Changes to upstream macros (whether called directly or indirectly by another macro) | |||
- `state:modified.vars`: Changes to [`vars`](/docs/build/project-variables) that a node depends on (available in v1.9 or with [dbt Cloud Versionless](/docs/dbt-versions/upgrade-dbt-version-in-cloud#versionless) via the `state_modified_compare_vars` [behavior flag](/reference/global-configs/behavior-changes)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this vars + env_vars? or just vars?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor comment
Co-authored-by: Leona B. Campbell <[email protected]>
dbt-labs/dbt-core#4304 is still blocked by dev, and it's going to be bumped from v1.9 to v1.10. So I'm going to close #6222 in favor of a new docs PR for v1.10. |
Preview
Closes: #6202
What are you changing in this pull request and why?
state:modified.vars
is a new selector, opt-in method behind thestate_modified_compare_vars
behavior flag (off by default).Details
Checklist