HashedRelationBroadcastMode¶
HashedRelationBroadcastMode is a BroadcastMode.
Creating Instance¶
HashedRelationBroadcastMode takes the following to be created:
- Key Expressions
-
isNullAwareflag (default:false)
HashedRelationBroadcastMode is created when:
PlanAdaptiveDynamicPruningFiltersphysical optimization is executed (to optimize query plans with DynamicPruningExpression)PlanDynamicPruningFiltersphysical optimization is requested to broadcastModeBroadcastHashJoinExecphysical operator is requested for requiredChildDistribution
Transforming InternalRows into HashedRelation¶
transform(
rows: Iterator[InternalRow],
sizeHint: Option[Long]): HashedRelation
transform creates a HashedRelation with or without sizeEstimate based on the given sizeHint.
transform is part of the BroadcastMode abstraction.