You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Chao Sun (JIRA)" <ji...@apache.org> on 2015/09/08 22:13:45 UTC

[jira] [Commented] (HIVE-11761) DoubleWritable hashcode for GroupBy is not properly generated

    [ https://issues.apache.org/jira/browse/HIVE-11761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14735523#comment-14735523 ] 

Chao Sun commented on HIVE-11761:
---------------------------------

+1

> DoubleWritable hashcode for GroupBy is not properly generated
> -------------------------------------------------------------
>
>                 Key: HIVE-11761
>                 URL: https://issues.apache.org/jira/browse/HIVE-11761
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>    Affects Versions: 1.2.0, 2.0.0
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>         Attachments: HIVE-11761.patch
>
>
> HIVE-11502 fixed the hashcode for LazyDouble. Additionally we should fix for DoubleWritable as well due to HADOOP-12217 issue. In some cases such as {{select avg(t) from (select * from over1k cross join src) t group by d;}} where d is double type, the data is actually in DoubleWritable, not LazyDouble. Thus, before HADOOP-12217 gets fixed, we need to fix hashcode for LazyDouble as well as DoubleWritable.



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