ORDER BY ... DESC reverses comparrison predicates in WHERE ----------------------------------------------------------
Key: CASSANDRA-4160 URL: https://issues.apache.org/jira/browse/CASSANDRA-4160 Project: Cassandra Issue Type: Bug Components: API Affects Versions: 1.1.0 Environment: cqlsh Reporter: Jonas Dohse When issuing a cql select statement with an ORDER BY ... DESC clause the comparison predicates in the WHERE clause gets reversed. Example: (see also attached) SELECT number FROM test WHERE number < 3 ORDER BY number DESC returns the results expected of WHERE number > 3 -- 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