[
https://issues.apache.org/jira/browse/CASSANDRA-4160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13266619#comment-13266619
]
Jonathan Ellis commented on CASSANDRA-4160:
-------------------------------------------
+1
> 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
> Assignee: Sylvain Lebresne
> Labels: cql3
> Fix For: 1.1.1
>
> Attachments: 4160.txt, test.cql
>
>
> 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