alrevuelta commented on code in PR #2333:
URL:
https://github.com/apache/datafusion-sqlparser-rs/pull/2333#discussion_r3218411761
##########
src/parser/mod.rs:
##########
@@ -14639,6 +14639,33 @@ impl<'a> Parser<'a> {
Ok(cte)
}
+ /// Parse a single item in a `WITH` clause.
+ ///
+ /// In standard SQL this is always a CTE (`name [(cols)] AS (query)`).
+ /// Dialects that enable
[`Dialect::supports_with_clause_scalar_expression`]
+ /// — currently only ClickHouse — also accept the reversed form
+ /// `<expression> AS <identifier>`, which can be freely interleaved with
+ /// CTEs in the same comma-separated list.
Review Comment:
fixed and minor renaming
https://github.com/apache/datafusion-sqlparser-rs/pull/2333/changes/3b868426bd4f1cc15017efbc3648f1b7cfab4a2a#diff-fc6a8d66b8cb6bd48a119a70e489cbcef82e7f551e7cf08e8e972ef4e774ef49R14642
--
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]