Re: Question on CAS

2014-03-21 Thread Tyler Hobbs
On Fri, Mar 21, 2014 at 4:15 PM, DuyHai Doan wrote: > Is there a technical reason not to allow CAS update with inequality or > EXISTS condition ? No, see https://issues.apache.org/jira/browse/CASSANDRA-6839 -- Tyler Hobbs DataStax

Question on CAS

2014-03-21 Thread DuyHai Doan
Hello After reading the latest CQL3 documentation, I realize that it's not possible to perform a CAS update with some conditions: UPDATE users .SET WHERE user_id=... IF password EXISTS UPDATE users .SET WHERE user_id=... IF password != null Is there a technical reason not to allow C