You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "DOAN DuyHai (JIRA)" <ji...@apache.org> on 2015/09/03 18:11:45 UTC
[jira] [Created] (CASSANDRA-10259) CQLSH grammar for != syntax in
LWT
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)