pub trait OptimizerRule {
    fn optimize(
        &self,
        plan: &LogicalPlan,
        execution_props: &ExecutionProps
    ) -> Result<LogicalPlan>;
fn name(&self) -> &str; }
Expand description

OptimizerRule transforms one [‘LogicalPlan’] into another which computes the same results, but in a potentially more efficient way.

Required methods

Rewrite plan to an optimized form

A human readable name for this optimizer rule

Implementors