Re: python cql driver select count(*) failed

2011-05-27 Thread Jonathan Ellis
CQL does not support count(). On Fri, May 27, 2011 at 4:18 AM, Donal Zang wrote: > Hi, >  I'm using the jar from the trunk source code . > I tried the following select cql, but it get the wrong result.(I can get the > right result using pycassa's get_count()) > cqlsh> select count(1) from t_conta

Re: python cql driver select count(*) failed

2011-05-27 Thread Jonathan Ellis
(and if it did, it would be the SQL row count, which is different than the column count from pycassa.) On Fri, May 27, 2011 at 10:13 AM, Jonathan Ellis wrote: > CQL does not support count(). > > On Fri, May 27, 2011 at 4:18 AM, Donal Zang wrote: >> Hi, >>  I'm using the jar from the trunk source

python cql driver select count(*) failed

2011-05-27 Thread Donal Zang
Hi, I'm using the jar from the trunk source code . I tried the following select cql, but it get the wrong result.(I can get the right result using pycassa's get_count()) /cqlsh> select count(1) from t_container where KEY = '2011041210' ; (0,) cqlsh> select count(*) from t_container where KEY =