Re: conditional update or insert

2013-02-02 Thread aaron morton
Any alternative to achieve this? Nothing server side. i.e. you cannot do Update foo set bar='baz' where timestamp new_timestamp You can monkey around with the timestamps a little though. Cassandra will return you the column value with the highest (internal cassandra) time stamp. Now days

conditional update or insert

2013-02-01 Thread Jay Svc
Hi All, On each row I have a column which maintains the timestamp like lastUpdated etc. While inserting such row I want to make sure that the row should be only updated if the lastUpdated is older than the new one I am inserting. One way to do this is - Read the record first check the