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

Andrew Purtell commented on HBASE-10342:
----------------------------------------

bq. Perhaps all that's needed is a "pre-bloom" coprocessor hook that can 
perform a transformation before a key is passed to the bloom filter (both read 
and write), or perhaps take over the entire hash calculation.

That's an interesting idea. It could work. If you look at existing code for 
examples of how to make a coprocessor hook addition binary backwards compatible 
(won't be source compatible, that's fine) we could get it back to a version 
where it would be useful to Phoenix, 1.5.0 maybe, and 2.2.0. 

> RowKey Prefix Bloom Filter
> --------------------------
>
>                 Key: HBASE-10342
>                 URL: https://issues.apache.org/jira/browse/HBASE-10342
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Liyin Tang
>            Priority: Major
>
> When designing HBase schema for some use cases, it is quite common to combine 
> multiple information within the RowKey. For instance, assuming that rowkey is 
> constructed as md5(id1) + id1 + id2, and user wants to scan all the rowkeys 
> which starting by id1. In such case, the rowkey bloom filter is able to cut 
> more unnecessary seeks during the scan.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to