Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B09FEBC5D for ; Fri, 6 Jan 2012 16:33:03 +0000 (UTC) Received: (qmail 1042 invoked by uid 500); 6 Jan 2012 16:33:03 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 822 invoked by uid 500); 6 Jan 2012 16:33:02 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 804 invoked by uid 99); 6 Jan 2012 16:33:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jan 2012 16:33:02 +0000 X-ASF-Spam-Status: No, hits=-2001.6 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jan 2012 16:33:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7B7CA13BE14 for ; Fri, 6 Jan 2012 16:32:39 +0000 (UTC) Date: Fri, 6 Jan 2012 16:32:39 +0000 (UTC) From: "Sylvain Lebresne (Commented) (JIRA)" To: commits@cassandra.apache.org Message-ID: <1093258302.15188.1325867559507.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <104791550.10289.1325784760152.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-3700) SelectStatement start/end key are not set correctly when a key alias is involved 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-3700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13181420#comment-13181420 ] Sylvain Lebresne commented on CASSANDRA-3700: --------------------------------------------- Is there a real advantage to allow the use of key alias *or* KEY. That is, why don't we just allow the key alias, and have this be KEY (which we already do) by default for CF created through thrift without a proper key_alias (case that is hopefully bound to disappear). The fact that we reserve KEY (and key too I believe) is kind of limiting in that you cannot use KEY for some other column. Besides, the KEY notation will be slightly less meaningful post-2474 because it will not necessarily correspond to the primary key anymore (i.e, it may correspond only to the first column column that compose the PRIMARY KEY). > SelectStatement start/end key are not set correctly when a key alias is involved > -------------------------------------------------------------------------------- > > Key: CASSANDRA-3700 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3700 > Project: Cassandra > Issue Type: Bug > Components: API > Affects Versions: 0.8.1 > Reporter: Jonathan Ellis > Assignee: Pavel Yaskevich > Labels: cql > Fix For: 1.0.8 > > Attachments: CASSANDRA-3700.patch > > > start/end key are set by antlr in WhereClause, but this depends on the "KEY" keyword. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira