LucaCappelletti94 commented on issue #1475:
URL:
https://github.com/apache/datafusion-sqlparser-rs/issues/1475#issuecomment-5804000762
`VisitorMut` reaches aliases through `pre_visit_select` /
`post_visit_select`, added in #2235. They hand you `&mut Select`, whose
`projection` holds `SelectItem::ExprWithAlias { expr, alias }`, so the alias
can be renamed there. `pre_visit_ident` also visits every identifier, alias
names included, and ORDER BY clauses nested in subqueries are reachable through
`pre_visit_query` and `pre_visit_order_by`. Closing as answered, please reopen
if a node you need is still unreachable.
--
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]