[ 
https://issues.apache.org/jira/browse/CASSANDRA-5713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14146720#comment-14146720
 ] 

Philip Thompson commented on CASSANDRA-5713:
--------------------------------------------

I can't reproduce this on 2.1-HEAD, what version are you using?

> CQL3 token() <= token() does not work as expected
> -------------------------------------------------
>
>                 Key: CASSANDRA-5713
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5713
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Colin B.
>            Priority: Minor
>
> Using tokens to go backward through a table in CQL3 does not work as expected.
> Say there is some data available:
> {code}
> > SELECT key FROM data_list where token(key) >= token('6') limit 10;
>  key
> -----
>    6
>    7
>    9
>    4
>    3
>    A
>    5
>    8
>    2
>    1
> {code}
> I expect:
> {code}
> > SELECT key FROM data_list where token(key) <= token('1') limit 5;
>  key
> -----
>    A
>    5
>    8
>    2
>    1
> {code}
> However the following occurs:
> {code}
> > SELECT key FROM data_list where token(key) <= token('1') limit 5;
>  key
> -----
>    6
>    7
>    9
>    4
>    3
> {code}
> The '<' operator has similar unexpected behavior.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to