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/17 06:33:02 UTC
[jira] [Commented] (CASSANDRA-7351) Make BEGIN COUNTER BATCH syntax
optional
[ https://issues.apache.org/jira/browse/CASSANDRA-7351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14033425#comment-14033425 ]
Aleksey Yeschenko commented on CASSANDRA-7351:
----------------------------------------------
1. Should not allow mixing regular and counter mutations in UNLOGGED batches. Should track hasCounters in Parsed#prepare() and reject mixed batches
2. Native protocol batches need updating. See BatchMessage.
> 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.0
>
> Attachments: 7351-rebase.txt, 7351.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)