-
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
Replace environment variable with a project flag to gate microbatch functionality #10799
Merged
+754
−637
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
a9df50f
first pass: replace os env with project flag
MichelleArk 96c4ccb
Merge branch 'main' into microbatch-project-flags
QMalcolm 704494f
Fix `TestMicrobatchMultipleRetries` to not use `os.env`
QMalcolm bfecde1
Turn off microbatch project flag for `TestMicrobatchCustomUserStrateg…
QMalcolm d690dec
Update `BaseMicrobatchTest` to turn on microbatch via project flags
QMalcolm 5b9d7f7
[REVERT BEFORE MERGE] Update dbt-adapters dev req to point to branch …
QMalcolm 1105e42
Add changie doc
QMalcolm a3f2708
Merge branch 'main' into microbatch-project-flags
QMalcolm 18d1938
Merge branch 'main' into microbatch-project-flags
QMalcolm 4d908ad
Fix functional tests after merging in main
QMalcolm 0349968
Extract most of the logic from `find_materialization_macro_by_name` t…
QMalcolm a620919
Add function to that determines whether the new microbatch functional…
QMalcolm e77a13c
Gate microbatch functionality by `use_microbatch_batches` manifest fu…
QMalcolm 543e024
Rename microbatch behavior flag to `require_batched_execution_for_cus…
QMalcolm db3fba8
Merge branch 'main' into microbatch-project-flags
QMalcolm c5e314a
Extract logic of `find_macro_by_name` to `find_macro_candiate_by_name`
QMalcolm 35b23a3
Use `find_macro_candidate_by_name` to find the microbatch macro
QMalcolm 7808992
Revert "Extract most of the logic from `find_materialization_macro_by…
QMalcolm 7f88f96
Fix microbatch macro locality check to search for `core` locality ins…
QMalcolm 874d7c6
Merge branch 'main' into microbatch-project-flags
QMalcolm a24b6f4
Move the evaluation of `use_microbatch_batches` to the last position …
QMalcolm dff25de
Drop behavior flag setting for BaseMicrobatchTest tests
QMalcolm 3931b69
Rename 'env_var' to 'project_flag' in test_microbatch.py
QMalcolm 945bcff
Update microbatch tests to assert when we are/aren't running with bat…
QMalcolm 63445b5
Update `test_resolve_event_time_filter` to use `use_microbatch_batches`
QMalcolm 26ba807
Fire deprecation warning for custom microbatch macros
QMalcolm 94363e8
Add microbatch deprecation events to test_events.py
QMalcolm 0f6b7fb
Revert "[REVERT BEFORE MERGE] Update dbt-adapters dev req to point to…
QMalcolm 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,6 @@ | ||
kind: Features | ||
body: Change gating of microbatch feature to be behind project flag / behavior flag | ||
time: 2024-10-01T16:14:22.267253-05:00 | ||
custom: | ||
Author: MichelleArk QMalcolm | ||
Issue: "10798" |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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.
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.
super nit, just because this is user-facing:
"In the future this will be the default behavior." -> "In the future batched execution will be the default behaviour."
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.
We could also mention the name of the custom macro that exists (e.g.
get_incremental_microbatch_sql
) as part of the message in case the user that's seeing this doesn't know about the custom strategy macro naming offhand.