You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2017/02/22 19:46:44 UTC

[jira] [Resolved] (CALCITE-1652) Allow GROUPING to have multiple arguments, like GROUPING_ID

     [ https://issues.apache.org/jira/browse/CALCITE-1652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Hyde resolved CALCITE-1652.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.12.0

Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/abfcc79b.

> 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
>             Fix For: 1.12.0
>
>
> 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 &lt;set function specification&gt;, 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)