hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ning Zhang (JIRA)" <j...@apache.org>
Subject [jira] Created: (HIVE-1327) Group by partition column returns wrong results
Date Wed, 28 Apr 2010 19:31:48 GMT
Group by partition column returns wrong results
-----------------------------------------------

                 Key: HIVE-1327
                 URL: https://issues.apache.org/jira/browse/HIVE-1327
             Project: Hadoop Hive
          Issue Type: Bug
    Affects Versions: 0.6.0
            Reporter: Ning Zhang
             Fix For: 0.6.0


hive> show partitions nzhang_part7;
show partitions nzhang_part7;
OK
ds=2010-01-11
ds=2010-01-23
ds=2010-04-03
ds=2010-04-19
ds=2010-04-22
Time taken: 0.431 seconds

[nzhang@dev303 /tmp] dfs -ls /user/facebook/warehouse/nzhang_part7/*
-rw-r--r--   3 nzhang supergroup    1756123 2010-04-28 11:54 /user/facebook/warehouse/nzhang_part7/ds=2010-01-11/attempt_201004162336_176893_r_000000_0.gz
-rw-r--r--   3 nzhang supergroup    1758227 2010-04-28 11:54 /user/facebook/warehouse/nzhang_part7/ds=2010-01-11/attempt_201004162336_176893_r_000001_0.gz
-rw-r--r--   3 nzhang supergroup    1915969 2010-04-28 11:54 /user/facebook/warehouse/nzhang_part7/ds=2010-01-23/attempt_201004162336_176893_r_000000_0.gz
-rw-r--r--   3 nzhang supergroup    1943830 2010-04-28 11:54 /user/facebook/warehouse/nzhang_part7/ds=2010-01-23/attempt_201004162336_176893_r_000001_0.gz
-rw-r--r--   3 nzhang supergroup    1646739 2010-04-28 11:54 /user/facebook/warehouse/nzhang_part7/ds=2010-04-03/attempt_201004162336_176893_r_000000_0.gz
-rw-r--r--   3 nzhang supergroup    1641052 2010-04-28 11:54 /user/facebook/warehouse/nzhang_part7/ds=2010-04-03/attempt_201004162336_176893_r_000001_0.gz
-rw-r--r--   3 nzhang supergroup      58601 2010-04-28 11:54 /user/facebook/warehouse/nzhang_part7/ds=2010-04-19/attempt_201004162336_176893_r_000000_0.gz
-rw-r--r--   3 nzhang supergroup      57465 2010-04-28 11:54 /user/facebook/warehouse/nzhang_part7/ds=2010-04-19/attempt_201004162336_176893_r_000001_0.gz
-rw-r--r--   3 nzhang supergroup    1064491 2010-04-28 11:54 /user/facebook/warehouse/nzhang_part7/ds=2010-04-22/attempt_201004162336_176893_r_000000_0.gz
-rw-r--r--   3 nzhang supergroup    1070580 2010-04-28 11:54 /user/facebook/warehouse/nzhang_part7/ds=2010-04-22/attempt_201004162336_176893_r_000001_0.gz

hive> select ds, count(1) from nzhang_part7 where ds is not null group by ds;
2010-04-03	1761129
Time taken: 187.692 seconds

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message