Konstantin created CASSANDRA-15343:
--------------------------------------

             Summary: Java internal exception on empty partition key range and 
conditions
                 Key: CASSANDRA-15343
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15343
             Project: Cassandra
          Issue Type: Bug
          Components: CQL/Semantics
            Reporter: Konstantin


sandra@cqlsh> create keyspace test with replication = \{ 'class': 
'SimpleStrategy', 'replication_factor': 1} and DURABLE_WRITES=true ;
cassandra@cqlsh> use test;
cassandra@cqlsh:test> create table lwt (a int primary key, b int);
cassandra@cqlsh:test> update lwt set b = 1 where a = 1 and token(a) > 0 and 
token(a)< 0;
cassandra@cqlsh:test> update lwt set b = 1 where a = 1 and token(a) > 0 and 
token(a)< 0 if b = 1;
ServerError: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to