You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2014/09/18 22:32:34 UTC

[jira] [Updated] (HIVE-7359) Stats based compute query replies fail to do simple column transforms

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

Ashutosh Chauhan updated HIVE-7359:
-----------------------------------
    Attachment: HIVE-7359.patch

> 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.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)