Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0DC94179C5 for ; Mon, 10 Nov 2014 12:33:34 +0000 (UTC) Received: (qmail 35046 invoked by uid 500); 10 Nov 2014 12:33:33 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 34997 invoked by uid 500); 10 Nov 2014 12:33:33 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 34985 invoked by uid 99); 10 Nov 2014 12:33:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2014 12:33:33 +0000 Date: Mon, 10 Nov 2014 12:33:33 +0000 (UTC) From: "He Liangliang (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-12452) Add regular expression based split policy MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-12452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] He Liangliang updated HBASE-12452: ---------------------------------- Attachment: HBASE-12452.patch > 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)