BroadcastDistribution¶
BroadcastDistribution is a data distribution requirement of the children of BroadcastHashJoinExec and BroadcastNestedLoopJoinExec physical operators.
Creating Instance¶
BroadcastDistribution takes the following to be created:
BroadcastDistribution is created when BroadcastHashJoinExec and BroadcastNestedLoopJoinExec physical operators are requested for the required child distribution.
Required Number of Partitions¶
requiredNumPartitions is always 1.
requiredNumPartitions is part of the Distribution abstraction.
Creating Partitioning¶
createPartitioning creates a BroadcastPartitioning (with the BroadcastMode).
createPartitioning throws an AssertionError when the given numPartitions is not 1:
createPartitioning is part of the Distribution abstraction.