pub trait ExtensionAnalyzerRule {
// Required method
fn analyze(
&self,
plan: LogicalPlan,
ctx: &QueryEngineContext,
config: &ConfigOptions,
) -> Result<LogicalPlan>;
}
Expand description
ExtensionAnalyzerRule
s transform [LogicalPlan
]s in some way to make
the plan valid prior to the rest of the DataFusion optimization process.
It’s an extension of datafusion [AnalyzerRule
]s but accepts QueryEngineContext
as the second parameter.
Required Methods§
Sourcefn analyze(
&self,
plan: LogicalPlan,
ctx: &QueryEngineContext,
config: &ConfigOptions,
) -> Result<LogicalPlan>
fn analyze( &self, plan: LogicalPlan, ctx: &QueryEngineContext, config: &ConfigOptions, ) -> Result<LogicalPlan>
Rewrite plan