[
https://issues.apache.org/jira/browse/HBASE-12452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14207378#comment-14207378
]
stack commented on HBASE-12452:
-------------------------------
Patch looks good. Needs more doc on when to use it and the kind of splits it
will make. Paste in as release notes and I can add to class on commit if that
suits.
> 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.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. We rely on this to implement local secondary index with data types.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)