@cassandra.apache.org
主题: Re: query statement return empty
What consistency level are you using with your query?
What replication factor are you using on your keyspace?
Have you run repair?
The most likely explanation is that you wrote with low consistency (ANY, ONE,
etc), and that one or more
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
收件人: 'user@cassandra.apache.org'
主题: query statement return empty
Hi ALL
The result of “select * from t_test where id = 1” statem
;user@cassandra.apache.org"
Date: Thursday, July 30, 2015 at 6:02 PM
To: "user@cassandra.apache.org"
Subject: query statement return empty
Hi ALL
The result of “select * from t_test where id = 1” statement is not consistency,
Could you tell me why?
test case,
I = 0;
Whil
Hi ALL
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:
[Row(ratio=Decimal('0.000'))]
[]
[Row(ratio=De