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
[SPARK-21417][SQL] Added a comment
  • Loading branch information
aokolnychyi committed Oct 18, 2017
commit b69185c2a7466b69a3f244a257449dbf1dd0ee21
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,9 @@ object EliminateOuterJoin extends Rule[LogicalPlan] with PredicateHelper {

/**
* A rule that uses propagated constraints to infer join conditions. The optimization is applicable
* only to CROSS joins.
* only to CROSS joins. For other join types, adding inferred join conditions would potentially
* shuffle children as child node's partitioning won't satisfy the JOIN node's requirements
* which otherwise could have.
*
* For instance, if there is a CROSS join, where the left relation has 'a = 1' and the right
* relation has 'b = 1', then the rule infers 'a = b' as a join predicate.
Expand Down