You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/13 16:20:00 UTC
[jira] [Resolved] (HBASE-5950) Add a decimal comparator for Filter
[ https://issues.apache.org/jira/browse/HBASE-5950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Kyle Purtell resolved HBASE-5950.
----------------------------------------
Assignee: (was: Jieshan Bean)
Resolution: Incomplete
> Add a decimal comparator for Filter
> -----------------------------------
>
> Key: HBASE-5950
> URL: https://issues.apache.org/jira/browse/HBASE-5950
> Project: HBase
> Issue Type: New Feature
> Components: Filters
> Affects Versions: 0.94.0, 0.95.2
> Reporter: Jieshan Bean
> Priority: Major
>
> Suppose we have a requirement like below:
> we want to get the rows with one specified column value larger than A and less than B.
> (They are all decimals or integers)
> namely:
> A < Integer.valueof(column) < B
> Use BinaryComparator will not help us to archive that goal:
> e.g. suppose A = 100, B = 200, one column value is 110000.
> So it can satisfy that condition, but it's not the row we wanted.
>
> So I suggest to add one comparator to help implementing this.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)