wugeer commented on code in PR #1653:
URL: 
https://github.com/apache/datafusion-sqlparser-rs/pull/1653#discussion_r1920283018


##########
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:
   Indeed, another idea is to attribute this situation to the `group by` 
property. It may be better. I will try to make it. :)
   



-- 
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-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to