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-5184] Multimap side inputs with duplicate keys and values are being lost #6257
[BEAM-5184] Multimap side inputs with duplicate keys and values are being lost #6257
Conversation
…ap` to `ArrayListMultimap`, which allows for duplicated key-value items. Tests in `ViewTest` modified to exercise duplicate key-value items scenario.
Retest this please |
1 similar comment
Retest this please |
Run Java PreCommit |
Run Dataflow ValidatesRunner |
Run Java PreCommit |
1 similar comment
Run Java PreCommit |
It seems that Google Cloud Dataflow Runner did not pass one of the updated tests. I tried with direct runner and it pass. Can somebody check the test? |
I'll try to look at the failure in Dataflow, it's side input handling is different. The Jenkins logs for
The error message is implying a comparison issue since all the values do exist in the actual output |
I would say that the error message is a bit misleading. It should say that there is no second |
Yes your right. What I find odd is that only the one failed. |
I figured out that the issue is that BatchViewOverrides.java is also using a HashMultimap instead of a list based multimap like ArrayListMultimap. I'll send you a patch to add to your PR. |
Opened up seznam#25 against your PR branch. |
Fix-up BatchViewOverrides.java to use list based multimap.
Run Dataflow ValidatesRunner |
Run Java PreCommit |
1 similar comment
Run Java PreCommit |
Thanks for your contribution. This should make it out into the 2.7.0 release which is starting soon. |
Great. 👍 |
BEAM-5184 Side inputs aggregating multimap changed from
HashMultimap
toArrayListMultimap
, which allows for duplicated key-value items. Tests inViewTest
modified to exercise duplicate key-value items scenario.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)