Actually, it was pointed out to me that there's a comment in
org.apache.cassandra.service.StorageProxy#cas() that says:
// finish the paxos round w/ the desired updates
// TODO turn null updates into delete?
Commit proposal = Commit.newProposal(key, ballot, upda
Yep, for example, I created a simple users table and then issued a delete
with an IF statement. i.e
CREATE TABLE users (
user_name varchar,
password varchar,
state varchar,
PRIMARY KEY (user_name)
);
INSERT INTO users
(user_name, password, state)
> I presume it can be done because conditional deletes work through CQL3.
Out of interest where do you have an example or a reference for this?
Cheers
-
Aaron Morton
Cassandra Consultant
New Zealand
@aaronmorton
http://www.thelastpickle.com
On 26/07/2013, at 8:07 AM, Kalpana Su