Skip to content

JoinSelectionHelper

canBroadcastBySize

canBroadcastBySize(
  plan: LogicalPlan,
  conf: SQLConf): Boolean

canBroadcastBySize...FIXME


canBroadcastBySize is used when:

getBroadcastBuildSide

getBroadcastBuildSide(
  left: LogicalPlan,
  right: LogicalPlan,
  joinType: JoinType,
  hint: JoinHint,
  hintOnly: Boolean,
  conf: SQLConf): Option[BuildSide]

getBroadcastBuildSide...FIXME


getBroadcastBuildSide is used when:

canPlanAsBroadcastHashJoin

canPlanAsBroadcastHashJoin(
  join: Join,
  conf: SQLConf): Boolean

canPlanAsBroadcastHashJoin...FIXME


canPlanAsBroadcastHashJoin is used when:

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: