-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[state:modified] persist unrendered_config from schema.yml, and more reliably compute unrendered_config from .sql files #10487
Merged
Merged
Changes from 23 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
1659c7b
persist schema yml unrendered_config before rendering
MichelleArk 8ad3c03
persist unrendered config on schema file instead of manifest
MichelleArk 4f96f5c
update test_configs_in_schema_files.py
MichelleArk acd23b0
support versioning in SchemaSourceFile.add_unrendered_config
MichelleArk 9e10428
Merge branch 'main' into state-modified-source-tests
MichelleArk fe9b572
fix: do not use None for version key in unrendered_configs
MichelleArk f368cdf
support reliable unrendered_config in .sql files
MichelleArk 57db0bf
more reliably set unrendered_config_call_dict + prefer config_call_di…
MichelleArk 1ce11ec
store + reset unrendered_config_call_dict on node
MichelleArk bad5723
Merge branch 'main' into state-modified-source-tests
MichelleArk ce2b150
Merge branch 'main' into state-modified-source-tests
MichelleArk bad6b92
first pass: put behind legacy flag
MichelleArk d8bf0e6
fix SnapshotParserTest unit test
MichelleArk fad1295
Return early to avoid creating jinja environemt if no config call in …
MichelleArk 47b18b1
test var sensitivity with require_config_jinja_insensitivity_for_stat…
MichelleArk d625a23
cleanup comment
MichelleArk 33e2359
Merge branch 'main' into state-modified-source-tests
MichelleArk 4081627
rename behaviour flag
MichelleArk 897c2e5
Merge branch 'main' into state-modified-source-tests
MichelleArk ac42ec4
changelog entry
MichelleArk 71bda2a
fix state:modified for jinja if statements in configs
MichelleArk 8677a9a
simplify constructing unrendered_config from jinja
MichelleArk 9adb4b8
update unit tests for unrendered_config_call_dict values
MichelleArk 428df36
clean up debugging print
MichelleArk 40f1a67
put static parsing behind behaviour change flag
MichelleArk 7986726
tests reflect behaviour flag setting
MichelleArk f4a5c0b
use resource_types_to_schema_file_keys to get patch unrendered configs
MichelleArk 259d6f8
handle versioned unrendered_configs during partial parsing
MichelleArk 5b0bce0
Merge branch 'main' into state-modified-source-tests
MichelleArk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
kind: Fixes | ||
body: Ignore rendered jinja in configs for state:modified, behind state_modified_compare_more_unrendered_values | ||
behaviour flag | ||
time: 2024-09-25T13:10:28.490042+01:00 | ||
custom: | ||
Author: michelleark | ||
Issue: "9564" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
even though this isn't serialized, we still need a schemas.getdbt.com PR, similar to config_call_dict: dbt-labs/schemas.getdbt.com#60