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

MultiJoin - correct bug when multiple columns are supplied #4279

Merged
merged 24 commits into from
Aug 7, 2023

Conversation

lbooker42
Copy link
Contributor

Adds missing support for parsing multiple columns in the MultijoinInput creation for a MultiJoin table.

Addresses #4276.

@lbooker42 lbooker42 added the bug Something isn't working label Aug 7, 2023
@lbooker42 lbooker42 added this to the August 2023 milestone Aug 7, 2023
@lbooker42 lbooker42 self-assigned this Aug 7, 2023
Comment on lines 771 to 772
MultiJoinInput.of(t1, "Key1=A,Key2=B", "C1=C,D1=D"),
MultiJoinInput.of(t2, "Key1=A,Key2=B", "C2=C,D2=D"));
Copy link
Member

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.

Copy link
Member

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.

Copy link
Contributor Author

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.

@lbooker42 lbooker42 merged commit 18f2125 into deephaven:main Aug 7, 2023
10 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Aug 7, 2023
@lbooker42 lbooker42 deleted the lab-multijoin branch June 26, 2024 19:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working NoDocumentationNeeded NoReleaseNotesNeeded No release notes are needed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants