-
Notifications
You must be signed in to change notification settings - Fork 947
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] 1.9 upgrade guide #6184
[Core] 1.9 upgrade guide #6184
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
Thanks @runleonarun - we're doing it! 🎉
website/docs/docs/dbt-versions/core-upgrade/06-upgrading-to-v1.9.md
Outdated
Show resolved
Hide resolved
website/docs/docs/dbt-versions/core-upgrade/06-upgrading-to-v1.9.md
Outdated
Show resolved
Hide resolved
website/docs/docs/dbt-versions/core-upgrade/06-upgrading-to-v1.9.md
Outdated
Show resolved
Hide resolved
website/docs/docs/dbt-versions/core-upgrade/06-upgrading-to-v1.9.md
Outdated
Show resolved
Hide resolved
website/docs/docs/dbt-versions/core-upgrade/06-upgrading-to-v1.9.md
Outdated
Show resolved
Hide resolved
website/docs/docs/dbt-versions/core-upgrade/06-upgrading-to-v1.9.md
Outdated
Show resolved
Hide resolved
website/docs/docs/dbt-versions/core-upgrade/06-upgrading-to-v1.9.md
Outdated
Show resolved
Hide resolved
website/docs/docs/dbt-versions/core-upgrade/06-upgrading-to-v1.9.md
Outdated
Show resolved
Hide resolved
website/docs/docs/dbt-versions/core-upgrade/06-upgrading-to-v1.9.md
Outdated
Show resolved
Hide resolved
website/docs/docs/dbt-versions/core-upgrade/06-upgrading-to-v1.9.md
Outdated
Show resolved
Hide resolved
|
||
While this works for many use-cases, there’s a clear limitation with this approach: *Some datasets are just too big to fit into one query.* | ||
|
||
Starting in Core 1.9, you can use the new microbatch strategy to optimize your largest datasets -- **process your event data in discrete periods with their own SQL queries, rather than all at once.** The benefits include: |
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.
Starting in Core 1.9, you can use the new microbatch strategy to optimize your largest datasets -- **process your event data in discrete periods with their own SQL queries, rather than all at once.** The benefits include: | |
Starting in Core 1.9, you can use the new [microbatch strategy](/docs/build/incremental-microbatch) to optimize your largest datasets -- **process your event data in discrete periods with their own SQL queries, rather than all at once.** The benefits include: |
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.
blocked on #6194
website/docs/docs/dbt-versions/core-upgrade/06-upgrading-to-v1.9.md
Outdated
Show resolved
Hide resolved
website/docs/docs/dbt-versions/core-upgrade/06-upgrading-to-v1.9.md
Outdated
Show resolved
Hide resolved
website/docs/docs/dbt-versions/core-upgrade/06-upgrading-to-v1.9.md
Outdated
Show resolved
Hide resolved
website/docs/docs/dbt-versions/core-upgrade/06-upgrading-to-v1.9.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Grace Goheen <53586774+graciegoheen@users.noreply.github.com>
website/docs/docs/dbt-versions/core-upgrade/06-upgrading-to-v1.9.md
Outdated
Show resolved
Hide resolved
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.
Couple small comments - but otherwise this is ready to go
website/docs/docs/dbt-versions/core-upgrade/06-upgrading-to-v1.9.md
Outdated
Show resolved
Hide resolved
website/docs/docs/dbt-versions/core-upgrade/06-upgrading-to-v1.9.md
Outdated
Show resolved
Hide resolved
website/docs/docs/dbt-versions/core-upgrade/06-upgrading-to-v1.9.md
Outdated
Show resolved
Hide resolved
website/docs/docs/dbt-versions/core-upgrade/06-upgrading-to-v1.9.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Grace Goheen <53586774+graciegoheen@users.noreply.github.com>
….9.md Co-authored-by: Grace Goheen <53586774+graciegoheen@users.noreply.github.com>
@@ -71,7 +71,6 @@ Read more about [Snapshots meta fields](/docs/build/snapshots#snapshot-meta-fiel | |||
We’ve made improvements to `state:modified` behaviors to help reduce the risk of false positives and negatives. Read more about [the `state:modified` behavior flags](#managing-changes-to-legacy-behaviors) that leverage these improvements: | |||
|
|||
- Added environment-aware enhancements for environments where the logic purposefully differs (for example, materializing as a table in `prod` but a `view` in dev). | |||
- Models that use `var` or `env_var` in their definition are included in `state:modified` when their values change. |
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.
Added to #6222
@@ -80,7 +79,6 @@ dbt Core v1.9 has a handful of new flags for [managing changes to legacy behavi | |||
You can read more about each of these behavior changes in the following links: | |||
|
|||
- (Introduced, disabled by default) [`state_modified_compare_more_unrendered_values`](/reference/global-configs/behavior-changes#behavior-change-flags). Set to `True` to start persisting unrendered_database and unrendered_schema configs during source parsing, and do comparison on unrendered values during `state:modified` checks. | |||
- (Introduced, disabled by default) [`state_modified_compare_vars`](/reference/global-configs/behavior-changes#behavior-change-flags). Set to `True` if a model uses a `var` or `env_var` in its definition. dbt will be able to identify its lineage to include the model in `state:modified` because the var or env_var value has changed. |
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.
Added to #6222
Closes #6159
What are you changing in this pull request and why?
First draft of upgrade guide. This is the most current content!
Checklist