-
Notifications
You must be signed in to change notification settings - Fork 79
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
MultiJoin - correct bug when multiple columns are supplied #4279
Conversation
MultiJoinInput.of(t1, "Key1=A,Key2=B", "C1=C,D1=D"), | ||
MultiJoinInput.of(t2, "Key1=A,Key2=B", "C2=C,D2=D")); |
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.
Please add cases with spaces around the column names, and "==". I believe JoinAddition.parse, JoinMatch.parse, and ColumnName.parse address these, but it would be best to verify.
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.
Also, we can pretty much just verify that we got the expected multi join input. No need to run an actual MJ for all test cases of MJI.
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.
I did test these manually because I was also curious but I will formalize into a test. Good point about the MJI, can be much simpler.
Adds missing support for parsing multiple columns in the
MultijoinInput
creation for aMultiJoin
table.Addresses #4276.