iffyio commented on code in PR #1653:
URL:
https://github.com/apache/datafusion-sqlparser-rs/pull/1653#discussion_r1918901599
##########
src/ast/query.rs:
##########
@@ -328,6 +328,10 @@ pub struct Select {
pub value_table_mode: Option<ValueTableMode>,
/// STARTING WITH .. CONNECT BY
pub connect_by: Option<ConnectBy>,
+ /// Hive syntax: `SELECT ... GROUP BY .. GROUPING SETS`
+ ///
+ ///
[Hive](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=30151323#EnhancedAggregation,Cube,GroupingandRollup-GROUPINGSETSclause)
+ pub grouping_sets: Option<Expr>,
Review Comment:
I'm wondering is it possible to cover the lacking cases using the `group_by`
property vs introducing a new property? Its not currently clear to me why a new
field was introduced.
--
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]