You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/03/11 04:40:00 UTC

[GitHub] [spark] viirya commented on a change in pull request #27866: [SPARK-31110][DOCS][SQL] refine sql doc for SELECT

viirya commented on a change in pull request #27866: [SPARK-31110][DOCS][SQL] refine sql doc for SELECT
URL: https://github.com/apache/spark/pull/27866#discussion_r390669221
 
 

 ##########
 File path: docs/sql-ref-syntax-qry-select-groupby.md
 ##########
 @@ -44,7 +44,7 @@ GROUP BY [ GROUPING SETS grouping_sets ] group_expression [ , group_expression [
     set is specified by a list of comma-separated expressions in parentheses.<br><br>
     <b>Syntax:</b>
       <code>
-        ( () | ( expression [ , ... ] ) )
+        ( '()' | ( expression [ , ... ] ) )
 
 Review comment:
   The syntax here indicates one group set or more? In above the syntax is `GROUP BY [ GROUPING SETS grouping_sets ] group_expression [ , group_expression [ , ... ] ]`. 
   
   For example, `group_expression` here is for just one group expression.
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org