JoinSelectionHelper¶
canBroadcastBySize¶
canBroadcastBySize(
plan: LogicalPlan,
conf: SQLConf): Boolean
canBroadcastBySize
...FIXME
canBroadcastBySize
is used when:
- InjectRuntimeFilter logical optimization is executed (and injectInSubqueryFilter and isProbablyShuffleJoin)
JoinSelectionHelper
is requested to getBroadcastBuildSide- JoinSelection execution planning strategy is executed
getBroadcastBuildSide¶
getBroadcastBuildSide(
left: LogicalPlan,
right: LogicalPlan,
joinType: JoinType,
hint: JoinHint,
hintOnly: Boolean,
conf: SQLConf): Option[BuildSide]
getBroadcastBuildSide
...FIXME
getBroadcastBuildSide
is used when:
JoinSelectionHelper
is requested to canPlanAsBroadcastHashJoin- JoinSelection execution planning strategy is executed
canPlanAsBroadcastHashJoin¶
canPlanAsBroadcastHashJoin(
join: Join,
conf: SQLConf): Boolean
canPlanAsBroadcastHashJoin
...FIXME
canPlanAsBroadcastHashJoin
is used when:
- PushDownLeftSemiAntiJoin logical optimization is executed
hintToSortMergeJoin¶
hintToSortMergeJoin(
hint: JoinHint): Boolean
hintToSortMergeJoin
is enabled (true
) when either the left or the right side of the join contains SHUFFLE_MERGE hint.
hintToSortMergeJoin
is used when:
- PushDownLeftSemiAntiJoin logical optimization is executed