inconsistent counter value?

2011-08-13 Thread Boris Yen
I posted a comment for Cassandra-3006 after 0.8.4 is released, but it seems not be noticed there, so I re-post here, wondering if anyone could help. --- Follow the same steps posted on Cassandra-3006, after step 11, I check the counter on .152, the counter values changes

CQL: No indexed column error when < or <= in WHERE clause

2011-08-13 Thread Jens Hartung
Hi together, first, I'm using Cassandra Version 0.8.4 and access it via CQL 1.0.3. When I select data from Cassandra with = in WHERE clause, everything works fine, but when using <= or < in WHERE clause, I always get following Exception: java.sql.SQLException: No indexed columns present in by-c

thrift c++ insert Exception [Column value is required]

2011-08-13 Thread Hassapis Constantinos
Hi all, I'm using Cassandra 0.8.3 and thrift for c++ and I can't insert column in a column family. Starting from an empty keyspace first I add a new keyspace and then a new column family and that works fine but I can't insert a column. The code that I have written is: transport->o

Re: CQL: No indexed column error when < or <= in WHERE clause

2011-08-13 Thread Jonathan Ellis
This is covered in http://www.datastax.com/dev/blog/whats-new-cassandra-07-secondary-indexes On Sat, Aug 13, 2011 at 2:49 PM, Jens Hartung wrote: > Hi together, > > first, I'm using Cassandra Version 0.8.4 and access it via CQL 1.0.3. > > When I select data from Cassandra with = in WHERE clause,

Re: thrift c++ insert Exception [Column value is required]

2011-08-13 Thread Jonathan Ellis
In C++ you need to set .__isset.fieldname on optional fields (e.g. .__isset.value). 2011/8/13 Hassapis Constantinos : > Hi all, > > I'm using Cassandra 0.8.3 and thrift for c++ and I can't insert column in > a column family. Starting from an empty keyspace first I add a new > keyspace and then a n