You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "He Liangliang (JIRA)" <ji...@apache.org> on 2015/01/20 07:34:35 UTC
[jira] [Commented] (HBASE-12452) Add regular expression based split
policy
[ https://issues.apache.org/jira/browse/HBASE-12452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14283491#comment-14283491 ]
He Liangliang commented on HBASE-12452:
---------------------------------------
use cases added.
> Add regular expression based split policy
> -----------------------------------------
>
> Key: HBASE-12452
> URL: https://issues.apache.org/jira/browse/HBASE-12452
> Project: HBase
> Issue Type: Improvement
> Components: regionserver
> Reporter: He Liangliang
> Assignee: He Liangliang
> Priority: Minor
> Attachments: HBASE-12452-V2.patch, HBASE-12452.patch
>
>
> The current DelimitedKeyPrefixRegionSplitPolicy split policy is not flexible enough to describe the split point prefix in some case. A regex based split policy is proposed, for example:
> ^[^\x00]+\x00[^\x00]+\x00
> means the split point will always be truncated to a prefix at the second \0 char.
> The binary string support is quite useful when the rowkey encoded by a common data access library instead of concatenated manually by application developer.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)