You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2014/10/20 14:10:34 UTC

[jira] [Commented] (HIVE-7981) alias of compound aggregation functions fails in having clause

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

Hive QA commented on HIVE-7981:
-------------------------------



{color:red}Overall{color}: -1 at least one tests failed

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

{color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 6566 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_cbo_correctness
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udaf_covar_pop
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_cbo_correctness
{noformat}

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1348/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1348/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-1348/

Messages:
{noformat}
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: 12675792
 - PreCommit-HIVE-TRUNK-Build

> alias of compound aggregation functions fails in having clause
> --------------------------------------------------------------
>
>                 Key: HIVE-7981
>                 URL: https://issues.apache.org/jira/browse/HIVE-7981
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.13.0
>            Reporter: eyal gruss
>            Assignee: Navis
>            Priority: Minor
>         Attachments: HIVE-7981.1.patch.txt, HIVE-7981.2.patch.txt, HIVE-7981.3.patch.txt
>
>
> hive> select max(time)-min(time) as span from mytable group by name having span>0;
> FAILED: SemanticException [Error 10025]: Line 1:92 Expression not in GROUP BY key '0'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)