You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tyler Hobbs (JIRA)" <ji...@apache.org> on 2014/06/11 00:27:01 UTC
[jira] [Updated] (CASSANDRA-6839) Support non equal conditions (for
LWT)
[ https://issues.apache.org/jira/browse/CASSANDRA-6839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tyler Hobbs updated CASSANDRA-6839:
-----------------------------------
Attachment: 6839.txt
The attached patch (and [branch|https://github.com/thobbs/cassandra/tree/CASSANDRA-6839]) adds support for <, <=, >, >=, and != in CAS operations. I've also created some [dtests|https://github.com/thobbs/cassandra-dtest/tree/CASSANDRA-6839].
It seems like we should also add support for {{IN}}. I can add do that in this ticket, if we'd like, or I can create a new ticket for that.
> Support non equal conditions (for LWT)
> --------------------------------------
>
> Key: CASSANDRA-6839
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6839
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Sylvain Lebresne
> Assignee: Tyler Hobbs
> Priority: Minor
> Fix For: 2.0.9
>
> Attachments: 6839.txt
>
>
> We currently only support equal conditions in conditional updates, but it would be relatively trivial to support non-equal ones as well. At the very least we should support '>', '>=', '<' and '<=', though it would probably also make sense to add a non-equal relation too ('!=').
--
This message was sent by Atlassian JIRA
(v6.2#6252)