-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-1880] [SQL] Eliminate unnecessary job executions. #825
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
Conversation
… execute unnecessary job when joinType is Inner or LeftOuter.
|
Merged build triggered. |
|
Merged build started. |
|
Merged build finished. All automated tests passed. |
|
All automated tests passed. |
|
Thanks for submitting this. I actually think this thing is going away to be replaced by broadcast hash join. #734 Maybe we should wait for that to be merged? Otherwise a lot of unnecessary conflicts. |
|
Would be great if you can review that code, @ueshin. |
|
We can easily add right outer join support to the hash join though. In general, the nested loop join performs very unfavorably compared with a hash join implementation. |
|
Done & merged #836. |
|
@rxin Thanks a lot! |
|
Probably makes sense to close this one now. Thanks! |
|
Ok, close this. Thanks! |
…s-client.version 7.3.1(apache#825)
There are unnecessary job executions in
BroadcastNestedLoopJoin.When
InnnerorLeftOuterjoin, preparation ofrightOuterMatchesforRightOuterorFullOuterjoin is not neccessary.And when
RightOuterorFullOuter, it should use notcountand thenreducebutfold.