hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhan Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15333) Enhance the filter to handle short, integer, long, float and double
Date Mon, 02 May 2016 20:26:13 GMT

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

Zhan Zhang commented on HBASE-15333:
------------------------------------

Thanks for the feedback, and I will restructure the code and sent out for review this week.

> Enhance the filter to handle short, integer, long, float and double
> -------------------------------------------------------------------
>
>                 Key: HBASE-15333
>                 URL: https://issues.apache.org/jira/browse/HBASE-15333
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Zhan Zhang
>            Assignee: Zhan Zhang
>         Attachments: HBASE-15333-1.patch, HBASE-15333-2.patch, HBASE-15333-3.patch, HBASE-15333-4.patch,
HBASE-15333-5.patch
>
>
> Currently, the range filter is based on the order of bytes. But for java primitive type,
such as short, int, long, double, float, etc, their order is not consistent with their byte
order, extra manipulation has to be in place to take care of them  correctly.
> For example, for the integer range (-100, 100), the filter <= 1, the current filter
will return 0 and 1, and the right return value should be (-100, 1]



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

Mime
View raw message