Uh oh!
There was an error while loading. Please reload this page.
[SPARK-1880] [SQL] Eliminate unnecessary job executions. - #825
Conversation
… execute unnecessary job when joinType is Inner or LeftOuter.
AmplabJenkins
commented
May 19, 2014
Merged build triggered. |
AmplabJenkins
commented
May 19, 2014
Merged build started. |
AmplabJenkins
commented
May 19, 2014
Merged build finished. All automated tests passed. |
AmplabJenkins
commented
May 19, 2014
All automated tests passed. |
rxin
commented
May 20, 2014
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. |
rxin
commented
May 20, 2014
Would be great if you can review that code, @ueshin. |
ueshin
commented
May 20, 2014
rxin
commented
May 21, 2014
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. |
ueshin
commented
May 21, 2014
ueshin
commented
May 21, 2014
rxin
commented
May 21, 2014
Done & merged #836. |
ueshin
commented
May 22, 2014
@rxin Thanks a lot! |
rxin
commented
May 22, 2014
Probably makes sense to close this one now. Thanks! |
ueshin
commented
May 23, 2014
Ok, close this. Thanks! |
There are unnecessary job executions in
BroadcastNestedLoopJoin.When
InnnerorLeftOuterjoin, preparation ofrightOuterMatchesforRightOuterorFullOuterjoin is not neccessary.And when
RightOuterorFullOuter, it should use notcountand thenreducebutfold.