incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donal Zang <zan...@ihep.ac.cn>
Subject python cql driver select count(*) failed
Date Fri, 27 May 2011 09:18:52 GMT
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 = '2011041210' ;
(0,)/
Any ideas? Should the KEY be converted to bytes?

Thanks!
Donal


Mime
View raw message