[
https://issues.apache.org/jira/browse/CALCITE-1652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15877960#comment-15877960
]
Jesus Camacho Rodriguez commented on CALCITE-1652:
--------------------------------------------------
Changes LGTM [~julianhyde], +1.
I have updated the description of the issue: GROUPING function accepts 'one or
more' arguments instead of 'zero or more'.
> Allow GROUPING to have multiple arguments, like GROUPING_ID
> -----------------------------------------------------------
>
> Key: CALCITE-1652
> URL: https://issues.apache.org/jira/browse/CALCITE-1652
> Project: Calcite
> Issue Type: Bug
> Reporter: Julian Hyde
> Assignee: Julian Hyde
>
> When initially added to the SQL standard {{GROUPING}} took one argument, a
> column reference. Now it can have multiple arguments, like the
> {{GROUPING_ID}} function.
> In SQL standard 2014, see section 6.9 <set function specification>, and
> feature T433, "Multiargument GROUPING function".
> This change would extend {{GROUPING}} to allow one or more arguments (i.e.
> what {{GROUPING_ID}} currently does), and make {{GROUPING_ID}} a synonym for
> {{GROUPING}}. {{GROUP_ID}} is not affected, and continues to take zero
> arguments.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)