suneet-s commented on a change in pull request #9122: Add SQL GROUPING SETS
support.
URL: https://github.com/apache/druid/pull/9122#discussion_r383431491
##########
File path: docs/querying/sql.md
##########
@@ -65,7 +65,7 @@ Druid SQL supports SELECT queries with the following
structure:
SELECT [ ALL | DISTINCT ] { * | exprs }
FROM table
[ WHERE expr ]
-[ GROUP BY exprs ]
+[ GROUP BY [ exprs | GROUPING SETS ( (exprs), ... ) | ROLLUP (exprs) | CUBE
(exprs) ] ]
Review comment:
This is cool... I learnt some new SQL today 👍
```suggestion
[ GROUP BY [ exprs | GROUPING SETS ( \(exprs\), ... ) | ROLLUP \(exprs\) |
CUBE \(exprs\) ] ]
```
Based on the examples below, the parenthesis are required correct?
I think in other places in the docs parenthesis don't mean literal
characters, but you want them to be literal characters here?
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]