AngersZhuuuu commented on a change in pull request #32201:
URL: https://github.com/apache/spark/pull/32201#discussion_r615675314



##########
File path: docs/sql-ref-syntax-qry-select-groupby.md
##########
@@ -95,12 +95,13 @@ aggregate_name ( [ DISTINCT ] expression [ , ... ] ) [ 
FILTER ( WHERE boolean_ex
      (product, warehouse, location), (warehouse), (product), (warehouse, 
product), ())`.
     The N elements of a `CUBE` specification results in 2^N `GROUPING SETS`.
 
-* **Mixed Grouping Analytics**
+* **Mixed/Nested Grouping Analytics**
 
-    A GROUP BY clause can include multiple  `group_expression`s and multiple 
`CUBE|ROLLUP|GROUPING SETS`s.
+    A GROUP BY clause can include multiple `group_expression`s and multiple 
`CUBE|ROLLUP|GROUPING SETS`s.
     `CUBE|ROLLUP` is just a syntax sugar for `GROUPING SETS`, please refer to 
the sections above for
     how to translate `CUBE|ROLLUP` to `GROUPING SETS`. `group_expression` can 
be treated as a single-group
-    `GROUPING SETS` under this context. For multiple `GROUPING SETS` in the 
`GROUP BY` clause, we generate
+    `GROUPING SETS` under this context. `GROUPING SETS` also support nested 
grouping anlytics, Spark can support
+    use `CUBE|ROLLUP|GROUPING SETS` as `GROUPING SETS`'s `grouping_set`. For 
multiple `GROUPING SETS` in the `GROUP BY` clause, we generate

Review comment:
       How about current?




-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to