关注 spark技术分享,
撸spark源码 玩spark最佳实践

BroadcastDistribution

BroadcastDistribution

BroadcastDistribution is a Distribution that indicates to use one partition only and…​FIXME.

BroadcastDistribution is created when:

  1. BroadcastHashJoinExec is requested for required child output distributions (with HashedRelationBroadcastMode of the build join keys)

  2. BroadcastNestedLoopJoinExec is requested for required child output distributions (with IdentityBroadcastMode)

BroadcastDistribution takes a BroadcastMode when created.

Note
BroadcastDistribution is converted to a BroadcastExchangeExec physical operator when EnsureRequirements physical query plan optimization is executed (and enforces partition requirements for data distribution and ordering).

createPartitioning Method

Note
createPartitioning is part of Distribution Contract to create a Partitioning for a given number of partitions.

createPartitioning…​FIXME

赞(0) 打赏
未经允许不得转载:spark技术分享 » BroadcastDistribution
分享到: 更多 (0)

关注公众号:spark技术分享

联系我们联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏