【发布时间】:2019-11-05 22:16:06
【问题描述】:
create table cd_ml_api.sf_leads (
id timeuuid,
email text ,
cdh_org text,
source_of_funds text ,
currency_purpose text ,
created_date timestamp,
last_modified_date timestamp,
PRIMARY KEY (email, last_modified_date)
) WITH CLUSTERING ORDER BY (id DESC);
在 cassandra 终端中显示错误:
InvalidRequest:来自服务器的错误:code=2200 [无效查询]
message="last_modified_date 列缺少 CLUSTERING ORDER"
【问题讨论】:
标签: cassandra