[
https://issues.apache.org/jira/browse/CASSANDRA-5708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13917973#comment-13917973
]
Sylvain Lebresne commented on CASSANDRA-5708:
---------------------------------------------
bq. We just probably require a flag in SP.cas() to say "apply the cas if the
result fetch is not null".
I'll note that now that we've abstracted conditions in SP.cas() this should be
simpler/cleaner to do.
> Add DELETE ... IF EXISTS to CQL3
> --------------------------------
>
> Key: CASSANDRA-5708
> URL: https://issues.apache.org/jira/browse/CASSANDRA-5708
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Sylvain Lebresne
> Assignee: Tyler Hobbs
> Priority: Minor
> Fix For: 2.0.6
>
>
> I've been slightly lazy in CASSANDRA-5443 and didn't added a {{DELETE .. IF
> EXISTS}} syntax to CQL because it wasn't immediately clear what was the
> correct condition to use for the "IF EXISTS". But at least for CQL3 tables,
> this is in fact pretty easy to do using the row marker so we should probably
> add it.
--
This message was sent by Atlassian JIRA
(v6.2#6252)