[
https://issues.apache.org/jira/browse/CASSANDRA-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13854697#comment-13854697
]
Alex P commented on CASSANDRA-5633:
-----------------------------------
Some extensions of SQL (T-SQL, PLSQL) support {{IF ELSE}} statements. So
another way to do this could be:
{code}
IF (condition) THEN
BEGIN BATCH
APPLY BATCH
{code}
The only "advantages" of this approach would be:
1. a structure that is familiar
2. is just an extension of the current {{BATCH}}
> CQL support for updating multiple rows in a partition using CAS
> ---------------------------------------------------------------
>
> Key: CASSANDRA-5633
> URL: https://issues.apache.org/jira/browse/CASSANDRA-5633
> Project: Cassandra
> Issue Type: Improvement
> Affects Versions: 2.0 beta 1
> Reporter: sankalp kohli
> Assignee: Sylvain Lebresne
> Priority: Minor
> Labels: cql3
> Fix For: 2.0.4
>
>
> This is currently supported via Thrift but not via CQL.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)