Skip to content
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

Clean ExtractOutput of mean transform #12429

Closed
wants to merge 1 commit into from

Conversation

simonepri
Copy link

ExtractOutput it is not called when the input PCollection is empty so the if statement that this PR removes is reduntant.


Post-Commit Tests Status (on master branch)

Lang SDK Dataflow Flink Samza Spark Twister2
Go Build Status --- Build Status --- Build Status ---
Java Build Status Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status Build Status
Build Status
Build Status
Build Status
Python Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
--- Build Status ---
XLang Build Status --- Build Status --- Build Status ---

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website
Non-portable Build Status Build Status
Build Status
Build Status
Build Status Build Status
Portable --- Build Status --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

@simonepri
Copy link
Author

R: @youngoli, @lostluck

Feel free to close it without merging if you don't feel it is needed.

@lostluck
Copy link
Contributor

Going to close it, largely because while in terms of Beam Semantics it's unlikely to trigger, not guarding a divide by zero seems fundamentally wrong. Something could change that enabler that clause to be triggered, and I'd rather not deal with an emergency cherry pick to deal with it.

@lostluck lostluck closed this Jul 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants