MCPcopy Create free account
hub / github.com/apache/datafusion / rewrite

Method rewrite

datafusion/optimizer/src/optimizer.rs:692–698  ·  view source on GitHub ↗
(
            &self,
            _plan: LogicalPlan,
            _config: &dyn OptimizerConfig,
        )

Source from the content-addressed store, hash-verified

690 }
691
692 fn rewrite(
693 &self,
694 _plan: LogicalPlan,
695 _config: &dyn OptimizerConfig,
696 ) -> Result<Transformed<LogicalPlan>, DataFusionError> {
697 plan_err!("rule failed")
698 }
699 }
700
701 /// Replaces whatever plan with a single table scan

Callers 5

coerceFunction · 0.45
f_downMethod · 0.45
f_upMethod · 0.45
optimizeMethod · 0.45

Calls 6

ProjectionClass · 0.85
test_table_scanFunction · 0.50
buildMethod · 0.45
lenMethod · 0.45
cloneMethod · 0.45
reverseMethod · 0.45

Tested by

no test coverage detected