-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Move CombineValues override to non portable overrides #25106
Conversation
Codecov Report
@@ Coverage Diff @@
## master #25106 +/- ##
==========================================
+ Coverage 73.11% 73.13% +0.01%
==========================================
Files 735 735
Lines 98161 98161
==========================================
+ Hits 71774 71787 +13
+ Misses 25024 25011 -13
Partials 1363 1363
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 |
Run Python 3.9 PostCommit |
Assigning reviewers. If you would like to opt out of this review, comment R: @AnandInguva for label python. Available commands:
The PR bot will only process comments in the main thread (not review comments). |
R: @lukecwik |
Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control |
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.
Can we add the described scenario as a new ValidatesRunner test to prevent a regression in the future?
Run Python 3.8 PostCommit |
Run Python Dataflow V2 ValidatesRunner |
Run Python Dataflow ValidatesRunner |
Run Python 3.8 PostCommit |
Run Python Dataflow ValidatesRunner |
Run Python Dataflow V2 ValidatesRunner |
Run Python 3.8 PostCommit |
Run Python Dataflow V2 ValidatesRunner |
Run Python Dataflow ValidatesRunner |
Run Python 3.8 PostCommit |
Run Python Dataflow V2 ValidatesRunner |
Run Python Dataflow ValidatesRunner |
stop reviewer notifications |
Run Python 3.8 PostCommit |
Run Python Dataflow V2 ValidatesRunner |
Run Python Dataflow ValidatesRunner |
|
||
from . import combinevalues | ||
|
||
class CombineValuesIT(unittest.TestCase): |
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.
I would suggest making this a validates runner test like:
def test_flatten_pcollections(self): |
in ptransform_test.py
Run Python Dataflow V2 ValidatesRunner |
Run Python Dataflow ValidatesRunner |
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.
LGTM
Co-authored-by: Lukasz Cwik <[email protected]>
Right now, running the following pipeline on Dataflow:
succeeds when
use_runner_v2
is not included as an experiment, but fails when it is. This is because the translation being done generates an invalid graph for theuse_runner_v2
case: a portable pipeline shouldn't be using the overridden combine here.This fixes the problem by moving the override to only occur when
use_runner_v2
is not includedThank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
addresses #123
), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, commentfixes #<ISSUE NUMBER>
instead.CHANGES.md
with noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI.