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] 1.9 upgrade guide #6184

Merged
merged 37 commits into from
Oct 3, 2024
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
eb6e590
adding upgrade guide
runleonarun Oct 1, 2024
179e624
Merge branch 'current' into upgrade-1.9-guide
runleonarun Oct 1, 2024
5cf5f67
updating with internal changes
runleonarun Oct 1, 2024
77b743d
fixing link
runleonarun Oct 1, 2024
438f5a9
Merge branch 'current' into upgrade-1.9-guide
runleonarun Oct 1, 2024
26abb99
Update website/docs/docs/dbt-versions/core-upgrade/06-upgrading-to-v1…
runleonarun Oct 1, 2024
85bda08
Merge branch 'current' into upgrade-1.9-guide
runleonarun Oct 1, 2024
a6e475c
Update website/docs/docs/dbt-versions/core-upgrade/06-upgrading-to-v1…
runleonarun Oct 1, 2024
8c8eff1
fixing link
runleonarun Oct 1, 2024
18bcb9f
adding adapters
runleonarun Oct 1, 2024
d49c1f7
Merge branch 'current' into upgrade-1.9-guide
runleonarun Oct 1, 2024
00462f2
Apply suggestions from code review
runleonarun Oct 1, 2024
d2143e7
removing INSERT link
runleonarun Oct 2, 2024
7a5391d
Update website/docs/docs/dbt-versions/core-upgrade/06-upgrading-to-v1…
amychen1776 Oct 2, 2024
932874b
Apply suggestions from code review
runleonarun Oct 2, 2024
1365f9d
Update website/docs/docs/dbt-versions/core-upgrade/06-upgrading-to-v1…
runleonarun Oct 2, 2024
ba06ec2
Merge branch 'current' into upgrade-1.9-guide
runleonarun Oct 2, 2024
56c362b
Apply suggestions from code review
runleonarun Oct 2, 2024
3d45b3f
Merge branch 'current' into upgrade-1.9-guide
runleonarun Oct 2, 2024
e7a2d46
Apply suggestions from code review
runleonarun Oct 2, 2024
4c6bf6c
Apply suggestions from code review
runleonarun Oct 2, 2024
74f519c
Update 06-upgrading-to-v1.9.md
runleonarun Oct 2, 2024
866a0fe
Merge branch 'current' into upgrade-1.9-guide
runleonarun Oct 2, 2024
fef4db3
@grace feedback
runleonarun Oct 2, 2024
24b0dd5
Apply suggestions from code review
runleonarun Oct 2, 2024
28cd2c7
Merge branch 'current' into upgrade-1.9-guide
runleonarun Oct 2, 2024
a6b0a62
Remove `state_modified_compare_vars` from the upgrade guide
dbeatty10 Oct 2, 2024
33628eb
Update website/docs/docs/dbt-versions/core-upgrade/06-upgrading-to-v1…
runleonarun Oct 2, 2024
f50f2a4
Merge branch 'current' into upgrade-1.9-guide
mirnawong1 Oct 3, 2024
9bbcce4
Merge branch 'current' into upgrade-1.9-guide
runleonarun Oct 3, 2024
74a30ef
Apply suggestions from code review
runleonarun Oct 3, 2024
c7b2e20
Merge branch 'current' into upgrade-1.9-guide
runleonarun Oct 3, 2024
5d8ae6e
Update website/docs/docs/dbt-versions/core-upgrade/06-upgrading-to-v1…
runleonarun Oct 3, 2024
06bbe85
Update 06-upgrading-to-v1.9.md
runleonarun Oct 3, 2024
5613080
Update 06-upgrading-to-v1.9.md
runleonarun Oct 3, 2024
1ae0f55
Merge branch 'current' into upgrade-1.9-guide
runleonarun Oct 3, 2024
f58be81
Merge branch 'current' into upgrade-1.9-guide
runleonarun Oct 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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:
runleonarun marked this conversation as resolved.
Show resolved Hide resolved

- 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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added to #6222


### Managing changes to legacy behaviors

Expand All @@ -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.
runleonarun marked this conversation as resolved.
Show resolved Hide resolved
- (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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added to #6222

- (Introduced, disabled by default) [`skip_nodes_if_on_run_start_fails` project config flag](/reference/global-configs/behavior-changes#behavior-change-flags). If the flag is set and **any** `on-run-start` hook fails, mark all selected nodes as skipped.
- `on-run-start/end` hooks are **always** run, regardless of whether they passed or failed last time.
- (Introduced, disabled by default) [[Redshift] `restrict_direct_pg_catalog_access`](/reference/global-configs/behavior-changes#redshift-restrict_direct_pg_catalog_access). If the flag is set the adapter will use the Redshift API (through the Python client) if available, or query Redshift's `information_schema` tables instead of using `pg_` tables.
Expand Down
Loading