cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-5697) Semi-colons not Allowed in CQL3 Batch Statements
Date Tue, 25 Jun 2013 07:21:20 GMT


Aleksey Yeschenko commented on CASSANDRA-5697:

The semicolon is optional. You are getting this error because cqlsh splits its statements
internally. Using python-cql directly (or any other client), the semicolons will be accepted.

It's questionable whether or not messing with cqlsh internals just to allow the semicolons
in BATCH is worth it, but I'll have a look later today.
> Semi-colons not Allowed in CQL3 Batch Statements
> ------------------------------------------------
>                 Key: CASSANDRA-5697
>                 URL:
>             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:

View raw message