cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DOAN DuyHai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10259) CQLSH grammar for != syntax in LWT
Date Fri, 30 Oct 2015 17:37:27 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-10259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14982946#comment-14982946
] 

DOAN DuyHai commented on CASSANDRA-10259:
-----------------------------------------

A rapid test shows that it's fixed for C* 2.2.3

> 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
>             Fix For: 2.2.x
>
>
> 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)

Mime
View raw message