我的表格介绍了子句工作:卡桑德拉cqlsh不与在非分区键
CREATE TABLE user (
id text,
CustID int static,
UpdateDate date,
DateOfBirth date static,
Gender text static,
Address text static,
City text static,
State text static,
Zip text static,
Email text static,
Phone text static,
OverallAssets double,
PRIMARY KEY (id,UpdateDate)
);
SELECT * FROM用户是工作的罚款。
select * from user where partition key is also fine fine。
但如果我把在where子句中得到以下error.What可以是因未分区键?
ReadFailure: Error from server: code=1300 [Replica(s) failed to execute
read] message="Operation failed - received 0 responses and 1 failures" info=
{'failures': 1, 'received_responses': 0, 'required_responses': 1,
'consistency': 'ONE'}
这听起来类似问题的方法:http://stackoverflow.com/questions/37114455/reading-error-in-cassandra –
我增加了'tombstone_failure_threshold'值。仍然没有工作。 – curiousguy
你在日志中看到什么吗?它仍然可能是墓碑(如果你有更多的话)。 –