DistributionContext

Type Alias DistributionContext 

Source
pub type DistributionContext = PlanContext<bool>;
Expand description

Keeps track of distribution changing operators (like RepartitionExec, SortPreservingMergeExec, CoalescePartitionsExec) and their ancestors. Using this information, we can optimize distribution of the plan if/when necessary.

Aliased Type§

pub struct DistributionContext {
    pub plan: Arc<dyn ExecutionPlan>,
    pub data: bool,
    pub children: Vec<PlanContext<bool>>,
}

Fields§

§plan: Arc<dyn ExecutionPlan>

The execution plan associated with this context.

§data: bool

Custom data payload of the node.

§children: Vec<PlanContext<bool>>

Child contexts of this node.