我的表格介紹了子句工作:卡桑德拉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
你在日誌中看到什麼嗎?它仍然可能是墓碑(如果你有更多的話)。 –