Lex Lythius created CASSANDRA-8258:
--------------------------------------

             Summary: 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


{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