canBuildRight(joinType: JoinType): Boolean
JoinSelection
JoinSelection is a Strategy of SparkPlanner and Hive-specific QueryPlanner.
When applied to a LogicalPlan, its processing varies per join type.
| Name | Behaviour |
|---|---|
|
Used to destructure a |
|
ExtractEquiJoinKeys
ExtractEquiJoinKeys is a pattern used to destructure a Join into a tuple of (JoinType, Seq[Expression], Seq[Expression], Option[Expression], LogicalPlan, LogicalPlan).
canBuildRight Internal Method
canBuildRight is a predicate that is positive (i.e. true) for joins that are:
-
"INNER", "CROSS", "LEFT OUTER", "LEFT SEMI", "LEFT ANTI" and a helper
ExistenceJoin.
Otherwise, canBuildRight is negative (i.e. false).
canBroadcast Internal Method
canBroadcast(plan: LogicalPlan): Boolean
canBroadcast is a predicate that is positive (i.e. true) for logical operators with statistics that can be broadcast and of size less than spark.sql.autoBroadcastJoinThreshold.