You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "iffyio (via GitHub)" <gi...@apache.org> on 2026/07/30 09:21:26 UTC
Re: [PR] Add XMLPARSE expression [datafusion-sqlparser-rs]
iffyio commented on code in PR #2371:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2371#discussion_r3681518232
##########
src/ast/mod.rs:
##########
@@ -1253,6 +1290,8 @@ pub enum Expr {
/// This can represent ANSI SQL `DATE`, `TIME`, and `TIMESTAMP` literals (such as `DATE '2020-01-01'`),
/// as well as constants of other types (a non-standard PostgreSQL extension).
TypedString(TypedString),
+ /// XML parse expression: `XMLPARSE(CONTENT|DOCUMENT expr)`.
+ XmlParse(XmlParseExpr),
Review Comment:
I think repr wise, we can piggy back on the existing Function expression, by introducing a new `FunctionArgOperator`
--
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-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org