You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ning Zhang (JIRA)" <ji...@apache.org> on 2010/04/29 17:58:06 UTC

[jira] Resolved: (HIVE-1327) Group by partition column returns wrong results

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

Ning Zhang resolved HIVE-1327.
------------------------------

    Resolution: Not A Problem

Oops, this is a false alarm. It only happened in my sandbox. 

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