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

Method rewrite_plan

datafusion/optimizer/src/rewrite_set_comparison.rs:46–51  ·  view source on GitHub ↗
(&self, plan: LogicalPlan)

Source from the content-addressed store, hash-verified

44 }
45
46 fn rewrite_plan(&self, plan: LogicalPlan) -> Result<Transformed<LogicalPlan>> {
47 let schema = merge_schema(&plan.inputs());
48 plan.map_expressions(|expr| {
49 expr.transform_up(|expr| rewrite_set_comparison(expr, &schema))
50 })
51 }
52}
53
54impl OptimizerRule for RewriteSetComparison {

Callers 1

rewriteMethod · 0.45

Calls 5

merge_schemaFunction · 0.85
rewrite_set_comparisonFunction · 0.85
map_expressionsMethod · 0.80
transform_upMethod · 0.80
inputsMethod · 0.45

Tested by

no test coverage detected