[ 
https://issues.apache.org/jira/browse/HIVE-15981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15905612#comment-15905612
 ] 

Ashutosh Chauhan commented on HIVE-15981:
-----------------------------------------

You may have:
{code}
groupbyEmpty
            :
             LPAREN RPAREN
            ;
{code}

since empty cube or rollup is not a valid syntax.

> Allow empty grouping sets
> -------------------------
>
>                 Key: HIVE-15981
>                 URL: https://issues.apache.org/jira/browse/HIVE-15981
>             Project: Hive
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Carter Shanklin
>            Assignee: Zoltan Haindrich
>         Attachments: HIVE-15981.1.patch
>
>
> group by () should be treated as equivalent to no group by clause. Currently 
> it throws a parse error



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to