You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2014/07/08 00:43:33 UTC

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

Gopal V created HIVE-7359:
-----------------------------

             Summary: 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


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.2#6252)