[ 
https://issues.apache.org/jira/browse/CASSANDRA-5994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13763122#comment-13763122
 ] 

Aleksey Yeschenko commented on CASSANDRA-5994:
----------------------------------------------

+1
                
> Allow empty CQL3 batches (as no-op)
> -----------------------------------
>
>                 Key: CASSANDRA-5994
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5994
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Trivial
>             Fix For: 1.2.10
>
>         Attachments: 5994.txt
>
>
> The CQL3 parser doesn't allow empty batch statements and bitches with a 
> parsing error. While clients should probably make sure they don't generate 
> empty batches as it's useless, it's easy for client that general batch 
> requests to forget handling the empty case, ending up sending an empty batch. 
> it's a tad annoying to get a runtime error in production just for that. Let 
> just it being a no-op.

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

Reply via email to