On Tue, Aug 31, 2010 at 9:12 AM, Dop Sun <su...@dopsun.com> wrote: > But as per the Thrift Client API, it looks like the valid version is: > > i32 get_count(string keyspace, string key, ColumnParent column_parent, SlicePredicate predicate, > ConsistencyLevel consistency_level) > > > > And this is valid both 0.6.x and 0.7.beta1. Is this a documentation issue?
This is not valid in 0.6. > Also, looks like in Cassandra 0.7 beta 1, the SlicePredicate changed a > little bit: > > In 0.6.x, it seems that count accepts -1 in Cassandra 0.6.x (which in > practices, return all columns), but in 0.7 beta 1, negative not allowed. Is > this a newly introduced changes in 0.7.x? If it worked in 0.6 it was entirely accidental. -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com