[
https://issues.apache.org/jira/browse/HIVE-15994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jesus Camacho Rodriguez updated HIVE-15994:
-------------------------------------------
Attachment: HIVE-15994.patch
> Grouping function error when grouping sets are not specified
> ------------------------------------------------------------
>
> Key: HIVE-15994
> URL: https://issues.apache.org/jira/browse/HIVE-15994
> Project: Hive
> Issue Type: Bug
> Affects Versions: 2.2.0
> Reporter: Carter Shanklin
> Assignee: Jesus Camacho Rodriguez
> Attachments: HIVE-15994.patch
>
>
> hive> select grouping(c1), lead(c2) over(partition by grouping(c1)) from
> e011_01 group by c1, c2;
> FAILED: SemanticException Failed to breakup Windowing invocations into
> Groups. At least 1 group must only depend on input columns. Also check for
> circular dependencies.
> Underlying error: org.apache.hadoop.hive.ql.parse.SemanticException: Line
> 1:48 Arguments length mismatch 'c1': grouping() requires 2 argument, got 1
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)