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

Ashutosh Chauhan updated HIVE-7359:
-----------------------------------
    Affects Version/s: 0.13.0
                       0.13.1
               Status: Patch Available  (was: Open)

> Stats based compute query replies fail to do simple column transforms
> ---------------------------------------------------------------------
>
>                 Key: HIVE-7359
>                 URL: https://issues.apache.org/jira/browse/HIVE-7359
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.13.1, 0.13.0, 0.14.0
>            Reporter: Gopal V
>            Assignee: Ashutosh Chauhan
>         Attachments: HIVE-7359.patch
>
>
> The following two queries return the same answer (the second one is incorrect)
> {code}
> hive> set hive.compute.query.using.stats=true;
> hive> select count(1) from trips;
> OK
> 187271461
> Time taken: 0.173 seconds, Fetched: 1 row(s)
> hive> select count(1)/5109828 from trips;
> OK
> 187271461
> Time taken: 0.125 seconds, Fetched: 1 row(s)
> {code}
> The second query should have output 36.649 instead of the returning the value 
> of count(1).



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

Reply via email to