LucaCappelletti94 commented on issue #1393: URL: https://github.com/apache/datafusion-sqlparser-rs/issues/1393#issuecomment-5867843804
`VisitorMut::pre_visit_select` receives `&mut Select`, so a visitor can assign `select.selection = Some(expr)` or combine the existing filter with `BinaryOperator::And`. On current `main`, this turns `SELECT a FROM t` into `SELECT a FROM t WHERE tenant_id = 42`. Closing as answered. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
