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 D2A1AD679 for ; Tue, 25 Sep 2012 15:01:08 +0000 (UTC) Received: (qmail 34327 invoked by uid 500); 25 Sep 2012 15:01:08 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 34300 invoked by uid 500); 25 Sep 2012 15:01:08 -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 34289 invoked by uid 99); 25 Sep 2012 15:01:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2012 15:01:08 +0000 Date: Wed, 26 Sep 2012 02:01:08 +1100 (NCT) From: "T Jake Luciani (JIRA)" To: commits@cassandra.apache.org Message-ID: <260287383.122429.1348585268634.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (CASSANDRA-4716) CQL3 predicate logic is reversed when used on a reversed column MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 T Jake Luciani created CASSANDRA-4716: ----------------------------------------- Summary: CQL3 predicate logic is reversed when used on a reversed column Key: CASSANDRA-4716 URL: https://issues.apache.org/jira/browse/CASSANDRA-4716 Project: Cassandra Issue Type: Bug Components: Core Affects Versions: 1.1.0 Reporter: T Jake Luciani Fix For: 1.1.6 Example: {code} cqlsh:test> cqlsh:test> CREATE TABLE testrev ( ... key text, ... rdate timestamp, ... num double, ... PRIMARY KEY(key,rdate) ... ) WITH COMPACT STORAGE ... AND CLUSTERING ORDER BY(rdate DESC); cqlsh:test> INSERT INTO testrev(key,rdate,num) VALUES ('foo','2012-01-01',10.5); cqlsh:test> select key from testrev where rdate > '2012-01-02' ; key ----- foo cqlsh:test> select key from testrev where rdate < '2012-01-02' ; cqlsh:test> {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira