You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (JIRA)" <ji...@apache.org> on 2014/06/21 00:28:26 UTC

[jira] [Resolved] (CASSANDRA-7351) Make BEGIN COUNTER BATCH syntax optional

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

Aleksey Yeschenko resolved CASSANDRA-7351.
------------------------------------------

    Resolution: Fixed

Committed, thanks.

Took the liberty to add two comments, and move the top-level batch validate() call from validate(state) to QueryProcessor.processBatch() (so that we don't validate twice unnecessarily for non-protocol batches). Feel free to ninja it back if you mind.

Otherwise committed verbatim.

> 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)