DOAN DuyHai created CASSANDRA-10259:
---------------------------------------

             Summary: CQLSH grammar for != syntax in LWT
                 Key: CASSANDRA-10259
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10259
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
         Environment: Cassandra 2.2.0
            Reporter: DOAN DuyHai


According to [CASSANDRA-6839], LWT now support non equal relations like <, <=, 
>, >= and !=.

A simple test with cqlsh shows that the grammar for != is not updated yet

{noformat}
cqlsh:test> create table normal(id int, val text, primary key(id));
cqlsh:test> insert into normal(id,val) VALUES ( 1,'value');
cqlsh:test> delete from normal where id=1 IF val != 'value';
Invalid syntax at line 1, char 38
  delete from normal where id=1 IF val != 'value';
{noformat}



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

Reply via email to