You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Namit Jain (JIRA)" <ji...@apache.org> on 2009/05/23 02:48:45 UTC

[jira] Commented: (HIVE-511) Change the hashcode for DoubleWritable

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

Namit Jain commented on HIVE-511:
---------------------------------



I am not sure I follow - what if if it a Text Writable Object.

Wont it go to default case, and error out

> Change the hashcode for DoubleWritable
> --------------------------------------
>
>                 Key: HIVE-511
>                 URL: https://issues.apache.org/jira/browse/HIVE-511
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Zheng Shao
>         Attachments: HIVE-511.1.patch
>
>
> The current DoubleWritable hashCode takes only the last 32 bits. This is a big problem because for small integer values like 1.0, 2.0, 15.0, the hashCode are all 0.

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