Re: Retrieve counter value after update

2014-05-29 Thread DuyHai Doan
Hello Ziju First, you can read this excellent blog post explaining how counters work under the hood: http://www.datastax.com/dev/blog/whats-new-in-cassandra-2-1-a-better-implementation-of-counters Now, considering your request, you'd like Cassandra to return the current counter value on update.

Retrieve counter value after update

2014-05-29 Thread ziju feng
Hi All, I was wondering if there is a planned feature in Cassandra to return the current counter value after the update statement? Our project is using counter column to count and since counter column cannot reside in the same table with regular columns, we have to denormalize the counter value a