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

T Jake Luciani updated CASSANDRA-7351:
--------------------------------------

    Attachment: 7351v3.txt

v3 refactors the checks into a single validate() call and I added a unit test 
to check the native cql path.  It doesn't allow counter and non counter 
statements in the same batch.

> Make BEGIN COUNTER BATCH syntax optional
> ----------------------------------------
>
>                 Key: CASSANDRA-7351
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7351
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: T Jake Luciani
>            Assignee: T Jake Luciani
>            Priority: Trivial
>              Labels: cql3
>             Fix For: 2.1 rc2
>
>         Attachments: 7351-rebase.txt, 7351.txt, 7351v2.txt, 7351v3.txt
>
>
> AFAIK there is no need to supply COUNTER in Batch statements.
> The server should just throw an syntax error if you try to mix counter and 
> non counter statements in the same batch.
> What value does this keyword add?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to