Skip to main content

Module optimize

Module optimize 

Source
Expand description

Plan optimization.

The optimizer applies static rewrites top-down, optimizes the children in every present slot, then retries rewrites exposed by the optimized children.

Structs§

PlanParentReduceRuleAdapter
Bridges a typed PlanParentReduceRule to a type-erased static registry.
PlanParentRuleSet
An ordered static collection of parent-child plan rewrite rules.
PlanReduceRuleAdapter
Bridges a typed PlanReduceRule to a type-erased static registry.
PlanRuleSet
An ordered static collection of single-plan rewrite rules.

Traits§

DynPlanParentReduceRule
Type-erased interface used by PlanParentRuleSet.
DynPlanReduceRule
Type-erased interface used by PlanRuleSet.
PlanParentReduceRule
A metadata-only rewrite where a child plan rewrites its parent plan.
PlanReduceRule
A rewrite over one concrete plan operator.

Functions§

optimize
Optimizes plan, preserving its dtype and row domain.