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 98D8690BD for ; Tue, 24 Jan 2012 06:56:33 +0000 (UTC) Received: (qmail 25718 invoked by uid 500); 24 Jan 2012 06:56:32 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 25191 invoked by uid 500); 24 Jan 2012 06:56:14 -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 24492 invoked by uid 99); 24 Jan 2012 06:56:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2012 06:56:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Tue, 24 Jan 2012 06:56:05 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8663215FF71 for ; Tue, 24 Jan 2012 06:55:45 +0000 (UTC) Date: Tue, 24 Jan 2012 06:55:45 +0000 (UTC) From: "Thorsten von Eicken (Commented) (JIRA)" To: commits@cassandra.apache.org Message-ID: <1765374281.70692.1327388145551.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <915796873.60312.1327076140241.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-3761) CQL 3.0 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/CASSANDRA-3761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13191953#comment-13191953 ] Thorsten von Eicken commented on CASSANDRA-3761: ------------------------------------------------ Question: in your Standard "dynamic" CF example from create_cf_syntaxes.txt: {noformat} CREATE TABLE clicks ( userid uuid, url text, timestamp date PRIMARY KEY (userid, url) ) WITH COMPACT STORAGE {noformat} I assume I can do a column slice using something like: {noformat} SELECT timestamp FROM clicks WHERE userid = '...' and url >= '...' and url <= '...'; {noformat} Correct? > CQL 3.0 > ------- > > Key: CASSANDRA-3761 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3761 > Project: Cassandra > Issue Type: New Feature > Components: API > Reporter: Sylvain Lebresne > Assignee: Sylvain Lebresne > Priority: Critical > Labels: cql > Fix For: 1.1 > > Attachments: 0001-CQL-3.0.patch, 0002-Add-support-for-switching-the-CQL-version.patch, 0003-Makes-batches-atomic.patch, 0004-Thrift-gen-files.patch, cql_tests.py, create_cf_syntaxes.txt > > > This ticket is a reformulation/generalization of CASSANDRA-2474. The core change of CQL 3.0 is to introduce the new syntaxes that were discussed in CASSANDRA-2474 that allow to: > # Provide a better/more native support for wide rows, using the idea of transposed vie. > # The generalization to composite columns. > The attached text file create_cf_syntaxes.txt recall the new syntaxes introduced. > The changes proposed above allow (and strongly suggest in some cases) a number of other changes to the language that this ticket proposes to explore/implement (more details coming in the comments). -- 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