Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 91715 invoked from network); 7 Dec 2010 20:33:31 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Dec 2010 20:33:31 -0000 Received: (qmail 23262 invoked by uid 500); 7 Dec 2010 20:33:31 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 23211 invoked by uid 500); 7 Dec 2010 20:33:31 -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 23203 invoked by uid 99); 7 Dec 2010 20:33:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Dec 2010 20:33:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Dec 2010 20:33:31 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oB7KXBiN001823 for ; Tue, 7 Dec 2010 20:33:11 GMT Message-ID: <7414547.34761291753991166.JavaMail.jira@thor> Date: Tue, 7 Dec 2010 15:33:11 -0500 (EST) From: "stack (JIRA)" To: issues@hbase.apache.org Subject: [jira] Resolved: (HBASE-661) Allow to specify a user supplied row key comparator for a table 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-661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack resolved HBASE-661. ------------------------- Resolution: Invalid We'll never support this. Closing as invalid. > Allow to specify a user supplied row key comparator for a table > ---------------------------------------------------------------- > > Key: HBASE-661 > URL: https://issues.apache.org/jira/browse/HBASE-661 > Project: HBase > Issue Type: New Feature > Components: client, master, regionserver > Affects Versions: 0.2.0 > Reporter: Clint Morgan > Assignee: Clint Morgan > > Now that row keys are byte arrays, users should be able to specify a comparator at table creation time. > My use case for this is to implement secondary indexes. In this case, row keys for the index tables will be constructed from an optional prefix of the original row key as well as the content of column that is being indexed. Then the comparator will first compare based on the key prefix, and break ties by deserializing the column values and using the deserialized type's compareTo method. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.