LucaCappelletti94 opened a new pull request, #2368: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2368
PostgreSQL XML functions such as `XMLFOREST` and `XMLATTRIBUTES` take aliased arguments, e.g. `XMLFOREST(a AS x, b)`. This syntax currently fails to parse with "Expected: ), found: AS". This PR adds a `supports_aliased_function_args()` dialect method (true for PostgreSQL and Generic) and makes the function-call parser wrap `expr AS name` arguments into the existing `Expr::Named` variant, so no new AST types are needed. Part of the work to support PostgreSQL XML functions (split from #2252, follows #2299). -- 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]
