You're right, there is currently no way to do this since 1) insert can't have a IF currently and 2) update can't update such table.
We'll fix that: https://issues.apache.org/jira/browse/CASSANDRA-5715 -- Sylvain On Sat, Jun 29, 2013 at 9:51 PM, Blair Zajac <bl...@orcaware.com> wrote: > On 6/24/13 8:23 PM, Blair Zajac wrote: > >> How does one do an atomic update in a column family with a single column? >> >> I have a this CF >> >> CREATE TABLE schema_migrations ( >> version TEXT PRIMARY KEY, >> ) WITH COMPACTION = {'class': 'LeveledCompactionStrategy'}; >> > > Anyone? Should I raise this on the developer mailing list or open a > ticket? > > Blair >