Skip to content
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

[Core] The state directory needs to be built with v1.9+ or Versionless for state_modified_compare_more_unrendered_values #6247

Open
1 task done
dbeatty10 opened this issue Oct 4, 2024 · 0 comments
Assignees
Labels
content Improvements or additions to content dbt-core v1.9 improvement Use this when an area of the docs needs improvement as it's currently unclear

Comments

@dbeatty10
Copy link
Contributor

dbeatty10 commented Oct 4, 2024

Contributions

  • I have read the contribution docs, and understand what's expected of me.

Link to the page on docs.getdbt.com requiring updates

One or more as the same files as https://github.com/dbt-labs/docs.getdbt.com/pull/6239/files

What part(s) of the page would you like to see updated?

In order to avoid this specific cause of false positives, two things need to hold when the state directory is built:

  1. state_modified_compare_more_unrendered_values: true
  2. The v1.9+ or dbt Cloud Versionless

Put another way, the state directory needs to be built with v1.9+ or Versionless along with state_modified_compare_more_unrendered_values: true within dbt_project.yml.

So if the state directory was built with an older version of dbt or if the state_modified_compare_more_unrendered_values behavior change flag was false (or it was not set), it will need to be rebuilt in order to avoid these false positives during state comparison with state:modified.

Additional information

No response

@dbeatty10 dbeatty10 added content Improvements or additions to content improvement Use this when an area of the docs needs improvement as it's currently unclear dbt-core v1.9 labels Oct 4, 2024
@runleonarun runleonarun changed the title The state directory needs to be built with v1.9+ or Versionless for state_modified_compare_more_unrendered_values [Core] The state directory needs to be built with v1.9+ or Versionless for state_modified_compare_more_unrendered_values Oct 15, 2024
@matthewshaver matthewshaver self-assigned this Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Improvements or additions to content dbt-core v1.9 improvement Use this when an area of the docs needs improvement as it's currently unclear
Projects
None yet
Development

No branches or pull requests

2 participants