Skip to content

Commit

Permalink
Fix doc for complex grouping operations
Browse files Browse the repository at this point in the history
  • Loading branch information
weiatwork authored and martint committed May 28, 2021
1 parent aeb50fe commit 5ad32c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/main/sphinx/sql/select.rst
Expand Up @@ -311,7 +311,7 @@ Trino also supports complex aggregations using the ``GROUPING SETS``, ``CUBE``
and ``ROLLUP`` syntax. This syntax allows users to perform analysis that requires
aggregation on multiple sets of columns in a single query. Complex grouping
operations do not support grouping on expressions composed of input columns.
Only column names or ordinals are allowed.
Only column names are allowed.

Complex grouping operations are often equivalent to a ``UNION ALL`` of simple
``GROUP BY`` expressions, as shown in the following examples. This equivalence
Expand Down

0 comments on commit 5ad32c3

Please sign in to comment.