Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 11311 invoked from network); 28 Jan 2010 23:03:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Jan 2010 23:03:58 -0000 Received: (qmail 96274 invoked by uid 500); 28 Jan 2010 23:03:58 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 96190 invoked by uid 500); 28 Jan 2010 23:03:57 -0000 Mailing-List: contact cassandra-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-commits@incubator.apache.org Received: (qmail 96105 invoked by uid 99); 28 Jan 2010 23:03:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jan 2010 23:03:57 +0000 X-ASF-Spam-Status: No, hits=-1999.6 required=10.0 tests=ALL_TRUSTED,SUBJECT_FUZZY_TION X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jan 2010 23:03:55 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 91A67234C1F0 for ; Thu, 28 Jan 2010 15:03:34 -0800 (PST) Message-ID: <676725196.116851264719814595.JavaMail.jira@brutus.apache.org> Date: Thu, 28 Jan 2010 23:03:34 +0000 (UTC) From: "Stu Hood (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Commented: (CASSANDRA-745) Support Range Queries all the partitioners currently supported. In-Reply-To: <1707804638.109551264703374610.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806145#action_12806145 ] Stu Hood commented on CASSANDRA-745: ------------------------------------ This patch sets finishKey to the minimum token if the start_key is equal to the empty string, which probably indicates that it needs a lot more testing. Also, I don't think this will be very useful without some API changes. Yes, someone using RandomPartitioner will be able to pass start="" and finish="" to get all of the rows in their cluster, but that would be an extremely inefficient way to get all rows. Additionally, if they use anything other than the empty string, the behaviour becomes undefined: MD5s won't sort the same way that strings do, so passing in strings is a guessing game. If this is supposed to be for Hadoop integration, I suggest that we try to build an efficient API call specifically for that task, including locality information, and dividing the keyspace into a certain number of input partitions. > Support Range Queries all the partitioners currently supported. > --------------------------------------------------------------- > > Key: CASSANDRA-745 > URL: https://issues.apache.org/jira/browse/CASSANDRA-745 > Project: Cassandra > Issue Type: New Feature > Components: Core > Affects Versions: 0.6 > Environment: Linux, Cassandra trunk > Reporter: Vijay > Assignee: Vijay > Fix For: 0.6 > > Attachments: 745-Patch.txt > > > Due to the changes which was made to incorprate Decorated keys in cassandra we can add this support with some minor changes. Basically this patch will support the Range queries on the keyspaces. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.