alamb commented on issue #533: URL: https://github.com/apache/arrow-datafusion/issues/533#issuecomment-1221293517
An extension planner then looks like ```rust struct MySqlPlanner { } impl QueryPlanner for MySqlPlanner { // override expression planning fn plan_expr(&mut self, expr: sqlparser::ast::Expr) -> Expr { if need_to_rewrite(expr) { // custom planning logic } else { // fall back to default impl plan_expr(self, expr) } } } ``` The issue with this approach is that it complicates the sql planner non trivially , so I am not sure it is a great idea -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org