hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-15994) Grouping function error when grouping sets are not specified
Date Sat, 25 Feb 2017 17:26:44 GMT

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

Hive QA commented on HIVE-15994:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12854657/HIVE-15994.02.patch

{color:green}SUCCESS:{color} +1 due to 2 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 10259 tests executed
*Failed tests:*
{noformat}
TestDerbyConnector - did not produce a TEST-*.xml file (likely timed out) (batchId=235)
org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query14] (batchId=223)
org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query23] (batchId=223)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/3786/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/3786/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-3786/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 3 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12854657 - PreCommit-HIVE-Build

> 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.01.patch, HIVE-15994.02.patch, 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)

Mime
View raw message