pub trait PhysicalOptimizerRule {
    fn optimize(
        &self,
        plan: Arc<dyn ExecutionPlan>,
        config: &SessionConfig
    ) -> Result<Arc<dyn ExecutionPlan>>; fn name(&self) -> &str; }
Expand description

PhysicalOptimizerRule transforms one [‘ExecutionPlan’] 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