Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 285E118F86 for ; Thu, 3 Sep 2015 16:11:46 +0000 (UTC) Received: (qmail 19108 invoked by uid 500); 3 Sep 2015 16:11:45 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 19072 invoked by uid 500); 3 Sep 2015 16:11:45 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 19057 invoked by uid 99); 3 Sep 2015 16:11:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2015 16:11:45 +0000 Date: Thu, 3 Sep 2015 16:11:45 +0000 (UTC) From: "DOAN DuyHai (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CASSANDRA-10259) CQLSH grammar for != syntax in LWT MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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)