CQL 3.0 - UPDATE Statement - how it works?

2012-04-25 Thread Maciej Miklas
CQL will have UPDATE future, I am trying to understand how this could work. Every write is an append to SSTable, UPDATE would need to change data, but only if it exists, and this is problematic, since we have distributed system. Is UPDATE special kind of insert, which changes given data only if

Re: CQL 3.0 - UPDATE Statement - how it works?

2012-04-25 Thread Sylvain Lebresne
In CQL, both UPDATE AND INSERT have the same semantic and are both upsert. I.e, INSERT does not fail if the record was already existing and UPDATE does not fail if the record wasn't existing. -- Sylvain On Wed, Apr 25, 2012 at 1:18 PM, Maciej Miklas mac.mik...@googlemail.com wrote: CQL will