Struct datafusion::physical_plan::hash_join::HashJoinExec [−][src]
pub struct HashJoinExec { /* fields omitted */ }
Expand description
join execution plan executes partitions in parallel and combines them into a set of partitions.
Implementations
pub fn try_new(
left: Arc<dyn ExecutionPlan>,
right: Arc<dyn ExecutionPlan>,
on: JoinOn,
join_type: &JoinType,
partition_mode: PartitionMode
) -> Result<Self>
pub fn try_new(
left: Arc<dyn ExecutionPlan>,
right: Arc<dyn ExecutionPlan>,
on: JoinOn,
join_type: &JoinType,
partition_mode: PartitionMode
) -> Result<Self>
Tries to create a new HashJoinExec.
Error
This function errors when it is not possible to join the left and right sides on keys on
.
left (build) side which gets hashed
right (probe) side which are filtered by the hash table
The partitioning mode of this hash join
Trait Implementations
Get a list of child execution plans that provide the input for this plan. The returned list will be empty for leaf nodes, will contain a single value for unary nodes, or two values for binary nodes (such as joins). Read more
fn with_new_children(
&self,
children: Vec<Arc<dyn ExecutionPlan>>
) -> Result<Arc<dyn ExecutionPlan>>
fn with_new_children(
&self,
children: Vec<Arc<dyn ExecutionPlan>>
) -> Result<Arc<dyn ExecutionPlan>>
Returns a new plan where all children were replaced by new plans.
The size of children
must be equal to the size of ExecutionPlan::children()
. Read more
Specifies the output partitioning scheme of this plan
creates an iterator
Format this ExecutionPlan
to f
in the specified type. Read more
Return a snapshot of the metrics collected during execution
Specifies the data distribution requirements of all the children for this operator