Module datafusion_optimizer::optimizer
source · Expand description
Query optimizer traits
Structs
- A rule-based optimizer.
- A standalone
OptimizerConfig
that can be used independently of DataFusion’s config management
Enums
- If a rule is with
ApplyOrder
, it means the optimizer will derive to handle children instead of recursively handling in rule. We just need handle a subtree pattern itself.
Traits
- Options to control the DataFusion Optimizer.
OptimizerRule
transforms oneLogicalPlan
into another which computes the same results, but in a potentially more efficient way. If there are no suitable transformations for the input plan, the optimizer can simply return it as is.