Hi Tyler/Doan, If we have already reached till the cell level and put the LWT condition on it im sure from a design standpoint it shouldnt be really difficult to get the cell write time and verify the same, maybe to be considered in a future release. In this case it looks cleaner and if performance doesnt degrade then im sure it can be used in multiple use cases. (fetch a row, do some processing save it if its not been updated, if it has been updated then repeat). In other words: If updated time has not changed then do a write.
Best Regards, Bhuvan On Wed, May 11, 2016 at 9:32 PM, Tyler Hobbs <ty...@datastax.com> wrote: > On Wed, May 11, 2016 at 10:22 AM, DuyHai Doan <doanduy...@gmail.com> > wrote: > > > It is not (yet) possible to use functions in LWT predicates. LWT only > > supports = and != plus IF (NOT) EXISTS right now > > > > You're correct about functions not being supported, but we do actually > support >, >=, <, <=, and IN operators (see > https://issues.apache.org/jira/browse/CASSANDRA-6839). > > -- > Tyler Hobbs > DataStax <http://datastax.com/> >