(mut self, udaf: Arc<AggregateUDF>)
| 74 | |
| 75 | impl MyContextProvider { |
| 76 | fn with_udaf(mut self, udaf: Arc<AggregateUDF>) -> Self { |
| 77 | self.udafs.insert(udaf.name().to_string(), udaf); |
| 78 | self |
| 79 | } |
| 80 | |
| 81 | fn with_expr_planner(mut self, planner: Arc<dyn ExprPlanner>) -> Self { |
| 82 | self.expr_planners.push(planner); |