【发布时间】:2019-12-10 23:35:34
【问题描述】:
我正在尝试在 azure cosmos db (cassandra) 中创建表。我的创建命令是
(
notifierid text,
notification_date timeuuid,
actorid text,
bucketid text,
categories set<int>,
entityactiontype int,
entityid text,
entityownerid text,
entitytype text,
status int,
viewedstatus boolean,
PRIMARY KEY
(notifierid, notification_date))
WITH CLUSTERING ORDER BY (notification_date DESC)
当我通过仪表板运行此命令时,我收到此错误
"WITH 聚类顺序 BY (notification_date DESC) WITH cosmosdb_provisioned_throughput=400;: {"readyState":4,"responseText":"\"{\\"message\\":\\"line 15:382 no 输入 'WITH (...nt>,\\n entityactiontype int,\\n entityid 文本,\\n entityownerid 文本,\\n
entitytype text,\\n status int,\\n 查看状态 boolean,\\n PRIMARY KEY\\n (notifierid, notification_date))\\n WITH CLUSTERING ORDER BY (notification_date DESC) 与...)"
【问题讨论】:
标签: c# cassandra azure-cosmosdb