According to https://issues.apache.org/jira/browse/CASSANDRA-7304 unset values in a prepared statement for a counter does not change the value of the counter. This applies for versions of Cassandra 2.2 and above.
I would also look to verify the claimed behaviour myself. On Tue, 11 Oct 2016 at 09:49 Dorian Hoxha <dorian.ho...@gmail.com> wrote: > I just have a bunch of counters in 1 row, and I want to selectively update > them. And I want to keep prepared queries. But I don't want to keep 30 > prepared queries (1 for each counter column, but keep only 1). So in most > cases, I will increment 1 column by positive integer and the others by 0. > > Makes sense ? > -- Ben Bromhead CTO | Instaclustr <https://www.instaclustr.com/> +1 650 284 9692 Managed Cassandra / Spark on AWS, Azure and Softlayer