(plan: LogicalPlan)
| 697 | fn observe(_plan: &LogicalPlan, _rule: &dyn OptimizerRule) {} |
| 698 | |
| 699 | fn optimize_plan(plan: LogicalPlan) -> Result<LogicalPlan> { |
| 700 | let config = OptimizerContext::new().with_skip_failing_rules(false); |
| 701 | let optimizer = Optimizer::new(); |
| 702 | optimizer.optimize(plan, &config, observe) |
| 703 | } |
| 704 | |
| 705 | /// Extension node that does NOT implement `necessary_children_exprs`. |
| 706 | /// Used to test that the optimizer still processes subtrees below such nodes. |
no test coverage detected
searching dependent graphs…