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 1384EC3C7 for ; Tue, 25 Jun 2013 05:48:26 +0000 (UTC) Received: (qmail 32590 invoked by uid 500); 25 Jun 2013 05:48:26 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 32282 invoked by uid 500); 25 Jun 2013 05:48:21 -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 32005 invoked by uid 99); 25 Jun 2013 05:48:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jun 2013 05:48:20 +0000 Date: Tue, 25 Jun 2013 05:48:20 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-5697) Semi-colons not Allowed in CQL3 Batch Statements MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-5697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-5697: -------------------------------------- Priority: Minor (was: Major) Affects Version/s: (was: 1.2.5) 1.2.0 Assignee: Aleksey Yeschenko The grammar suggests that it was intended for semicolon to be optional. I guess some kind of antlr nondeterminism makes it not work as designed? > Semi-colons not Allowed in CQL3 Batch Statements > ------------------------------------------------ > > Key: CASSANDRA-5697 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5697 > Project: Cassandra > Issue Type: Bug > Components: API > Affects Versions: 1.2.0 > Environment: Mac OSX, cqlsh 3.0.2 > Reporter: Russell Alexander Spitzer > Assignee: Aleksey Yeschenko > Priority: Minor > Labels: cql > > The documentation for BATCH statements declares that semicolons are required between update operations. Currently including them results in an error 'expecting K_APPLY'. To match the design specifications, semi-colons should be allowed or optional. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira