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-5993 Create SideInput Load test #7020
BEAM-5993 Create SideInput Load test #7020
Conversation
e2f4b4a
to
5a5362f
Compare
Do you need a review for this? : ) |
@pabloem I would really appreciate it! I think there is a lot to change, but I'm wondering what's your opinion. |
) | ||
# pylint: disable=expression-not-assigned | ||
(main_input | ||
| "Merge" >> beam.ParDo( |
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.
By iterating through the side input in "Merge"
, you will consume it, and no longer need to iterate through it in "Consume"
- so it may be fine if you just drop the Consume
transform. Other than that, I think this must be fine : )
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.
That sounds good. Thanks! Consume
was useful to check if join_fn
correctly merges together main_input
and side input
. But you are right - now it's not necessary.
This looks fine to me. I'm glad to merge it. I believe you've run the pipeline right? |
2ef84d0
to
9e66b0b
Compare
@pabloem Locally - yes. But probably as you can see it started failing with PreCommit now. I'm investigating this. |
9e66b0b
to
453ed35
Compare
453ed35
to
7344634
Compare
Run Python PreCommit |
Thanks Kasia. Sorry that it was just the flakiness. |
Creating Synthetic Source load test of Side Input.
Follow this checklist to help us incorporate your contribution quickly and easily:
[BEAM-XXX] Fixes bug in ApproximateQuantiles
, where you replaceBEAM-XXX
with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.It will help us expedite review of your Pull Request if you tag someone (e.g.
@username
) to look at it.Post-Commit Tests Status (on master branch)