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

[BEAM-5098] Fix withoutDefaults and withFanout clearing side inputs #6696

Merged
merged 2 commits into from Oct 16, 2018

Conversation

mpdn
Copy link
Contributor

@mpdn mpdn commented Oct 15, 2018

Calling withFanout or withFanout on Combine.Globally would clear side input. This was due to those two functions using a constructor that did not accept side inputs. I have removed the offending constructor and rewritten the two functions to use the correct constructor.

I have also added a regression test in a separate commit. If it's too much for such a simple change, you can just merge commit with the fix.

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- --- --- --- ---
Java Build Status Build Status Build Status Build Status Build Status Build Status Build Status
Python Build Status --- Build Status
Build Status
Build Status --- --- ---

@lukecwik
Copy link
Member

Thanks for the contribution and this looks good to me. I have added you as a contributor to the Apache Beam JIRA project and assigned BEAM-5098. This will allow you to assign issues to yourself in the future. If you haven't yet found our contribution guide, it is available here https://beam.apache.org/contribute/.

Would you like to open up a follow-up PR which adds a regression test for withFanout as well?

@lukecwik lukecwik merged commit 3553620 into apache:master Oct 16, 2018
@lukecwik
Copy link
Member

R: @lukecwik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants