Modules§
- Utilizing exact statistics from sources to avoid scanning data
- CoalesceBatches optimizer that groups batches together rows in bigger batches to avoid overhead with small batches
- CombinePartialFinalAggregate optimizer rule checks the adjacent Partial and Final AggregateExecs and try to combine them if necessary
- A special-case optimizer rule that pushes limit into a grouped aggregation which has no aggregate expressions or sorting requirements
- The GlobalOrderRequire optimizer rule either:
PruningPredicate
to apply filterExpr
to prune “containers” based on statistics (e.g. Parquet Row Groups)- An optimizer rule that detects aggregate operations that could use a limited bucket count
- An optimizer rule that checks ordering requirements of aggregate expressions and modifies the expressions to work more efficiently if possible.
Traits§
PhysicalOptimizerRule
transforms one [‘ExecutionPlan’] into another which computes the same results, but in a potentially more efficient way.