You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2015/09/03 18:18:45 UTC

[jira] [Updated] (CASSANDRA-10259) CQLSH grammar for != syntax in LWT

     [ https://issues.apache.org/jira/browse/CASSANDRA-10259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-10259:
---------------------------------------
    Assignee: Stefania

> 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
>            Assignee: Stefania
>
> 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)