LucaCappelletti94 opened a new pull request, #2301: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2301
- Add `Expr::XmlConcat(Vec<Expr>)` variant with `Display` and `Spanned` implementations for PostgreSQL's [`XMLCONCAT(xml[, ...])`](https://www.postgresql.org/docs/current/functions-xml.html#FUNCTIONS-PRODUCING-XML-XMLCONCAT) function - Introduce `maybe_parse_xml_function` dispatcher in the parser, hooked at the top of `parse_function`, which routes XML function names to dedicated AST nodes on dialects where `supports_xml_expressions()` is true - Guards on a single unquoted identifier with case-insensitive matching, so only bare `xmlconcat(...)` on PostgreSQL and Generic dialects takes the new path — all other dialects and qualified/quoted names fall through to the normal function-call parser This is the second PR in a chain splitting #2252 (XML function support) into reviewable units. Builds on #2299 which introduced the `supports_xml_expressions()` dialect method. -- 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]
