Re: Conditional Update Code?

2015-02-06 Thread Brian O'Neill
Perfect. Thanks. Let me see what I can cook up as a PoC. The specific use case we are looking to address is for real-time aggregations, done in memory, then periodically flushed to C*. (e.g. every 30 seconds) (similar to what Druid does, but native on top of C*) In this scenario, we aggregate

Re: Conditional Update Code?

2015-02-06 Thread Benedict Elliott Smith
It's quite possible support could be added to evaluate a UDF as part of the condition check. The code you're looking for are implementors of CASRequest.appliesTo(), in CQL3CasRequest and CassandraServer.ThriftCASRequest It seems like https://issues.apache.org/jira/browse/CASSANDRA-8488 would offer

Conditional Update Code?

2015-02-06 Thread Brian O'Neill
All, I¹m just looking for a little directionŠ Anyone know where I can find the code that checks the condition in a conditional update? We¹d love to have more expressive conditions, beyond just equality. (e.g. column contains? value) I wanted to see how hard this would be to contribute. Is such