hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-7981) alias of compound aggregation functions fails in having clause
Date Mon, 15 Dec 2014 02:10:13 GMT

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

Navis updated HIVE-7981:
------------------------
    Attachment: HIVE-7981.6.patch.txt

Fixed test fails

> 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-7981.4.patch.txt, HIVE-7981.5.patch.txt, HIVE-7981.6.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)

Mime
View raw message