Repository navigation
(BQ Python) Fix streaming with large loads by performing job waits in finish_bundle - #23012
Merged
Merged
Conversation
…copy jobs will provide trigger for delete stage
Contributor
Author
|
Waiting for #23011 |
Contributor
|
Assigning reviewers. If you would like to opt out of this review, comment R: @pabloem for label python. Available commands:
The PR bot will only process comments in the main thread (not review comments). |
…ing to separate outputs in the same finish_bundle
Codecov Report
@@ Coverage Diff @@
## master #23012 +/- ##
=======================================
Coverage 73.58% 73.59%
=======================================
Files 716 716
Lines 95311 95327 +16
=======================================
+ Hits 70138 70153 +15
- Misses 23877 23878 +1
Partials 1296 1296
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
johnjcasey
requested changes
Sep 9, 2022
Contributor
Author
|
Run Python 3.8 PostCommit |
ahmedabu98
force-pushed
the
bq_fl_streaming_fix
branch
from
September 12, 2022 03:45
895ce32 to
1e39863
Compare
johnjcasey
requested changes
Sep 14, 2022
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Streaming FILE_LOADS is currently not working with large loads. After the first load, it lags because
WaitForBQJobsis only triggered once withbeam.Create([None]). These changes move the wait into the finish_bundle of its respective step.Note: Streaming with small loads is done in one step and thus was not getting stuck.
Also adding tests that more accurately determine if streaming with batch loads is working.
Needs #23011 to run tests correctly
Fixes #23104