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

Aihua Xu updated HIVE-11761:
----------------------------
    Description: 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.  (was: 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, we need to fix hashcode for 
LazyDouble as well as DoubleWritable.)

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

Reply via email to