Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8C2DBD285 for ; Tue, 24 Jul 2012 10:12:28 +0000 (UTC) Received: (qmail 95866 invoked by uid 500); 24 Jul 2012 10:12:26 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 95805 invoked by uid 500); 24 Jul 2012 10:12:26 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 95762 invoked by uid 99); 24 Jul 2012 10:12:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2012 10:12:24 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sylvain@datastax.com designates 209.85.214.44 as permitted sender) Received: from [209.85.214.44] (HELO mail-bk0-f44.google.com) (209.85.214.44) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2012 10:12:15 +0000 Received: by bkty7 with SMTP id y7so5830463bkt.31 for ; Tue, 24 Jul 2012 03:11:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=qd7ycUN9F9z19nIDRt+MRknipMMoK+izllQ1ez2bOVk=; b=XrPE9mO0n0BEXqCJZm2CXF8vB8PcUyBeVWCM3xX2aQdx37IiKRmcpoGxnqs2ynfPxa KvcaeMKnfrFHkfazCCltX91QlZSicD9CMoy0nR9u7CgEpjiU7kwW9oS3rruDsQ9WwKnh e1w+90RcrAqQ2fr+u600QBZxXFJ31ue3So9gBf5B9qb5Mhhi63Ju5/pPUXptqj+olBWL AT24n2WeyBJa02ZSuA8+0oe6w15RH/ySxGUPosEgbmE76xdbDcGIoUsQSmNlTI302dU1 dHqMtPK7VPp3k9lzZGCImWy7zeD7CK/3uQ2VXoQoQg/HcUEMfBVFLfUcVe4shB+fvGmV V7Tg== MIME-Version: 1.0 Received: by 10.204.0.80 with SMTP id 16mr9708309bka.71.1343124714173; Tue, 24 Jul 2012 03:11:54 -0700 (PDT) Received: by 10.204.73.14 with HTTP; Tue, 24 Jul 2012 03:11:54 -0700 (PDT) In-Reply-To: References: Date: Tue, 24 Jul 2012 12:11:54 +0200 Message-ID: Subject: Re: CQL3 and column slices From: Sylvain Lebresne To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmEOgAA6Di2cmF3wSAzWK8gexo8uirAGk5sjj7zR8Di7+beeXmVpgDuQKFpuzDEZFkHqLTm X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Jul 24, 2012 at 12:09 AM, Josep Blanquer wrote: > is there some way to express that in CQL3? something logically equivalent to > > SELECT * FROM bug_test WHERE a:b:c:d:e > 1:1:1:1:2 ?? No, there isn't. Not currently at least. But feel free of course to open a ticket/request on https://issues.apache.org/jira/browse/CASSANDRA. I note that I would be curious to know the concrete use case you have for such type of queries. It would also help as an argument to add such facilities more quickly (or at all). Typically, "we should support it in CQL3 because it was possible with thrift" is definitively an argument, but a much weaker one without concrete examples of why it might be useful in the first place. -- Sylvain