Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Not A Problem
-
None
-
None
-
Cassandra 2.2.0
-
Normal
Description
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
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';