hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepa Vasanthkumar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10463) Filter on columns containing numerics yield wrong results
Date Sat, 08 Feb 2014 14:41:19 GMT

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

Deepa Vasanthkumar commented on HBASE-10463:

Thanks [~ndimiduk]
The approach was just to create a Comparator class which extends WritableByteArrayComparable,
and provided compareTo  which uses BigDecimal comparsion. 

I am interested in contributing this. I will go through the article 
http://hbase.apache.org/book/submitting.patches.html and  will update shortly. 

> Filter on columns containing numerics yield wrong results
> ---------------------------------------------------------
>                 Key: HBASE-10463
>                 URL: https://issues.apache.org/jira/browse/HBASE-10463
>             Project: HBase
>          Issue Type: Improvement
>          Components: Filters
>    Affects Versions: 0.94.8
>            Reporter: Deepa Vasanthkumar
>   Original Estimate: 168h
>  Remaining Estimate: 168h
> Used SingleColumnValueFilter with CompareFilter.CompareOp.GREATER_OR_EQUAL for filtering
the scan result. 
> However the columns which have numeric value, scan result is not correct, because of
lexicographic comparison.
> Does HBase support numeric value filters (for equal, greater or equal..) for columns
? If not, can we add it?

This message was sent by Atlassian JIRA

View raw message