hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Svetozar Ivanov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-2903) Numeric binary type keys are not compared properly
Date Tue, 07 Jul 2015 13:38:04 GMT

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

Svetozar Ivanov updated HIVE-2903:
----------------------------------
    Assignee: Navis  (was: Nick Dimiduk)

> Numeric binary type keys are not compared properly
> --------------------------------------------------
>
>                 Key: HIVE-2903
>                 URL: https://issues.apache.org/jira/browse/HIVE-2903
>             Project: Hive
>          Issue Type: Bug
>          Components: HBase Handler
>            Reporter: Navis
>            Assignee: Navis
>         Attachments: ASF.LICENSE.NOT.GRANTED--HIVE-2903.D2481.1.patch, ASF.LICENSE.NOT.GRANTED--HIVE-2903.D2481.2.patch
>
>
> In current binary format for numbers, minus values are always greater than plus values,
for example.
> {code}
> System.our.println(Bytes.compareTo(Bytes.toBytes(-100), Bytes.toBytes(100))); // 255
> {code}



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

Mime
View raw message