HashedRelationBroadcastMode¶
HashedRelationBroadcastMode
is a BroadcastMode.
Creating Instance¶
HashedRelationBroadcastMode
takes the following to be created:
- Key Expressions
-
isNullAware
flag (default:false
)
HashedRelationBroadcastMode
is created when:
PlanAdaptiveDynamicPruningFilters
physical optimization is executed (to optimize query plans with DynamicPruningExpression)PlanDynamicPruningFilters
physical optimization is requested to broadcastModeBroadcastHashJoinExec
physical 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.