-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[multi-stage] [optimization] Move inequi join out of hashjoin when there is no join key #9728
Comments
@walterddr Reproduced this one in unit test |
I did a little bit investigation. This is how I imagine this will be fixed.
JoinFilterFunction should take (leftPos, rightPos, leftObj, rightObj) This is because we don't want to pre-join the rows to have a copy and then apply the filter. |
EDIT: I am wrong. Let me actually get the test case and update this. |
@walterddr Sorry for the confusion. It is actually working because empty key gives the same hash, which is 1. Let's move this out of hashJoin in the future. |
JoinOperator is executed using for (row: broadcastTable) { join(left, right)} and then apply inequijoin condition.
equi is applied before join condition.
See the testInequi join failure in HashJoinOperatorTest:
#9743
The text was updated successfully, but these errors were encountered: