AngersZhuuuu commented on a change in pull request #30144:
URL: https://github.com/apache/spark/pull/30144#discussion_r610628844
##########
File path: docs/sql-ref-syntax-qry-select-groupby.md
##########
@@ -24,7 +24,9 @@ license: |
The `GROUP BY` clause is used to group the rows based on a set of specified
grouping expressions and compute aggregations on
the group of rows based on one or more specified aggregate functions. Spark
also supports advanced aggregations to do multiple
aggregations for the same input record set via `GROUPING SETS`, `CUBE`,
`ROLLUP` clauses.
-When a FILTER clause is attached to an aggregate function, only the matching
rows are passed to that function.
+These grouping analytics clauses can be specified with regular grouping
expressions (partial grouping analytics) and
+the grouping analytics clauses can be specified together (concatenated
groupings).
Review comment:
> The grouping expressions and advanced aggregations can be mixed in the
`GROUP BY` clause. See more details in the `Mixed Grouping Analytics` section.
Done
--
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]