Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
renaming.
  • Loading branch information
gatorsmile committed Jan 2, 2016
commit d9b54115f6dbd3e815963cec702a4a8aae28c154
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ abstract class Optimizer extends RuleExecutor[LogicalPlan] {
SetOperationPushDown,
SamplePushDown,
ReorderInnerJoin,
ReorderOuterInner,
ReorderOuterInnerJoins,
PushPredicateThroughJoin,
PushPredicateThroughProject,
PushPredicateThroughGenerate,
Expand Down Expand Up @@ -771,11 +771,11 @@ object ReorderInnerJoin extends Rule[LogicalPlan] with PredicateHelper {


/**
* Reorder the adjacent outer and inner joins and push inner join below left/right outer join.
* Reorder the adjacent outer and inner joins and push inner join through left/right outer join.
*
* TODO: improve the checking conditions to cover out-of-order cases.
*/
object ReorderOuterInner extends Rule[LogicalPlan] {
object ReorderOuterInnerJoins extends Rule[LogicalPlan] {
def apply(plan: LogicalPlan): LogicalPlan = plan transform {

case j @ Join(left @ Join(ll, lr, joinType, lCondition), right, Inner, condition) =>
Expand Down