-
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
Skip runner Dataflow v1 steps when a job will run on v2 #30604
Conversation
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 if it goes green
...dataflow-java/src/main/java/org/apache/beam/runners/dataflow/DataflowPipelineTranslator.java
Outdated
Show resolved
Hide resolved
7255bc8
to
ca90428
Compare
ca90428
to
f39f974
Compare
R: @damccorm |
Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control |
Can we keep the files to run the postcommits? |
Sure. I dropped them because the only risk of this change is catastrophically making all Dataflow v1 jobs fail, and we already have them on precommit. I can add them back. |
Looks like there are some replacements and also things that happen in traversal that are explicitly expected by tests. TBD what the deal is. I expect we have an anti-pattern of doing some replacements and then producing a "portable" pipeline that is specialized to Dataflow on the client side. |
Nope, it looks like there are just tests that set |
4d682f3
to
0f81804
Compare
R: @scwhittle for the removed tests. They were testing things that honestly wouldn't work right, but curious where are your thoughts on this, as it pertains to the status of the service's level of care in v2 codepaths:
To be clear, all these tests are testing whether the v1 translation has some behavior when the actual pipeline is running on v2. |
R: @reuvenlax |
Laughing to myself that the response to failing tests here was to delete the tests, but I think it is the right thing to do. |
Test failures were GCE quota. |
Green, but conflicts in the trigger files. I will drop that commit then merge. |
Internal tests green as well. |
0f81804
to
0a0186d
Compare
Fixes #30469
Currently there is inconsistent rewriting and validation.
Thank 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 or the workflows README to see a list of phrases to trigger workflows.