Uh oh!
There was an error while loading. Please reload this page.
[SQL]Extract the joinkeys from join condition - #1190
Conversation
AmplabJenkins
commented
Jun 24, 2014
Merged build triggered. |
AmplabJenkins
commented
Jun 24, 2014
Merged build started. |
There was a problem hiding this comment.
nit: dot should precede its operator immediately
AmplabJenkins
commented
Jun 24, 2014
Merged build finished. All automated tests passed. |
AmplabJenkins
commented
Jun 24, 2014
All automated tests passed. |
AmplabJenkins
commented
Jun 24, 2014
Merged build triggered. |
AmplabJenkins
commented
Jun 24, 2014
Merged build started. |
AmplabJenkins
commented
Jun 24, 2014
Merged build finished. |
AmplabJenkins
commented
Jun 24, 2014
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/16051/ |
chenghao-intel
commented
Jun 25, 2014
Jenkins, retest this please. |
chenghao-intel
commented
Jun 25, 2014
@rxin , can you ask Jenkins to retest this? Seems he doesn't answer me. :) |
AmplabJenkins
commented
Jun 25, 2014
Merged build triggered. |
AmplabJenkins
commented
Jun 25, 2014
Merged build started. |
chenghao-intel
commented
Jun 25, 2014
Oh, Jenkins is working. :) |
AmplabJenkins
commented
Jun 25, 2014
Merged build finished. All automated tests passed. |
AmplabJenkins
commented
Jun 25, 2014
All automated tests passed. |
marmbrus
commented
Jun 26, 2014
I'm not sure what the point of this change is. It is only serving to make the planner more brittle and tied to the specifics of the current implementation of the optimizer. If the current pattern for hash joins is correct and more general, I think we should keep it. |
chenghao-intel
commented
Jun 26, 2014
The |
chenghao-intel
commented
Jun 26, 2014
BTW, if I followed the current implementation pattern, which means I have to handle predicate push down for the outer join as it's done for inner join, too, that may make the code duplicated(with the optimizer) and confusing. |
marmbrus
commented
Jun 26, 2014
Okay, you've convinced me with the outer join argument. Remove HashFilteredJoin as its pretty redundant with your pattern. |
marmbrus
commented
Jun 26, 2014
and please rebase to master. |
AmplabJenkins
commented
Jun 26, 2014
Merged build triggered. |
AmplabJenkins
commented
Jun 26, 2014
Merged build started. |
chenghao-intel
commented
Jun 26, 2014
Thank you @marmbrus , updated, let's see the testing result. |
AmplabJenkins
commented
Jun 26, 2014
Merged build finished. All automated tests passed. |
AmplabJenkins
commented
Jun 26, 2014
All automated tests passed. |
There was a problem hiding this comment.
maybe annotation on line 48 can be modified.
chenghao-intel
commented
Jun 27, 2014
Thanks, updated. |
AmplabJenkins
commented
Jun 27, 2014
Merged build triggered. |
AmplabJenkins
commented
Jun 27, 2014
Merged build started. |
AmplabJenkins
commented
Jun 27, 2014
Merged build finished. All automated tests passed. |
AmplabJenkins
commented
Jun 27, 2014
All automated tests passed. |
marmbrus
commented
Jun 27, 2014
Thanks, merged into master. |
Extract the join keys from equality conditions, that can be evaluated using equi-join. Author: Cheng Hao <hao.cheng@intel.com> Closesapache#1190 from chenghao-intel/extract_join_keys and squashes the following commits: 4a1060a [Cheng Hao] Fix some of the small issues ceb4924 [Cheng Hao] Remove the redundant pattern of join keys extraction cec34e8 [Cheng Hao] Update the code style issues dcc4584 [Cheng Hao] Extract the joinkeys from join condition
Extract the join keys from equality conditions, that can be evaluated using equi-join.