6
列
這有什麼CQL查詢CQL:壞請求:缺少聚類爲了
cqlsh> create table citybizz.notifications(
... userId varchar,
... notifId UUID,
... notification varchar,
... time bigint,read boolean,
... primary key (userId, notifId,time)
...) with clustering order by (time desc);
它拋出Bad Request: Missing CLUSTERING ORDER for column notifid
問題。我使用卡桑德拉1.2.2