cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 鄢来琼 <>
Subject 答复: query statement return empty
Date Fri, 31 Jul 2015 01:33:31 GMT
Using java/C# rewrite the test case, the results are consistency.
Is there any problem for the python driver?

发件人: 鄢来琼
发送时间: Friday, July 31, 2015 9:03 AM
收件人: ''
主题: query statement return empty


The result of “select * from t_test where id = 1” statement is not consistency,
Could you tell me why?

test case,
I = 0;
While I < 5:
    result = cassandra_session.execute(“select ratio from t_test where id = 1”)
print result

testing result:

Cassandra cluster:
My Cassandra version is 2.12,
the Cassandra cluster has 9 nodes.
The python driver version is 2.6

I have tested both the AsyncoreConnection and LibevConnection, the results are in consistency.

Thanks a lot.

View raw message