cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-8753) Support UPDATE IF NOT EXIST OR compare checks in LWT transactions
Date Fri, 06 Feb 2015 16:50:35 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-8753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brandon Williams resolved CASSANDRA-8753.
-----------------------------------------
    Resolution: Duplicate

Looks that way.

> Support UPDATE IF NOT EXIST OR compare checks in LWT transactions
> -----------------------------------------------------------------
>
>                 Key: CASSANDRA-8753
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8753
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Gerrit Jansen van Vuuren
>
> I've got a column that I want to update e.g  min = x IF min > x
> but if there is no value for min e.g min == null then the update will never succeed,
which means I need to do a READ then INSERT and then run UPDATES which defies the purpose
of using the LWT for this use case.
> is it possible for LWT to support either IF min > x OR min == null ?  or otherwise
take null as equal to zero for numbers ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message