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

Philip Thompson commented on CASSANDRA-8258:
--------------------------------------------

Okay, I have added a cqlshlib test as part of the v2 patch.

> SELECT ... TOKEN() function broken in C* 2.1.1
> ----------------------------------------------
>
>                 Key: CASSANDRA-8258
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8258
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: Ubuntu 14.04 64-bit, Oracle Java 1.7.0_72
>            Reporter: Lex Lythius
>            Assignee: Philip Thompson
>              Labels: cqlsh
>             Fix For: 2.1.2
>
>         Attachments: cassandra-2.1-8258-1.txt, cassandra-2.1-8258-2.txt
>
>
> {code:title=Cassandra 2.1.1, Oracle Java 1.7.0_72, Ubuntu 14.04.1 64 bit}
> cqlsh:blink> show version;
> [cqlsh 5.0.1 | Cassandra 2.1.1 | CQL spec 3.2.0 | Native protocol v3]
> cqlsh:blink> select token(id) from users limit 1;
> list index out of range
> {code}
> versus
> {code:title=Cassandra 2.1.0, Oracle Java 1.7.0_67, Ubuntu 12.04.5 64 bit}
> cqlsh:blink> show version;
> [cqlsh 5.0.1 | Cassandra 2.1.0 | CQL spec 3.2.0 | Native protocol v3]
> cqlsh:blink> select token(id) from users limit 1;
>  token(id)
> ----------------------
>  -9223237793432919630
> (1 rows)
> {code}
> It also fails with C* 2.1.1, Java 1.7.0_72, Ubuntu 12.04.5.



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

Reply via email to