C# azure cosmos数据库在创建表时出现问题
我正在尝试在azure cosmos db(cassandra)中创建表。我的create命令是C# azure cosmos数据库在创建表时出现问题,c#,cassandra,azure-cosmosdb,C#,Cassandra,Azure Cosmosdb,我正在尝试在azure cosmos db(cassandra)中创建表。我的create命令是 ( notifierid text, notification_date timeuuid, actorid text, bucketid text, categories set<int>, entityactiontype int, entityid text, entityownerid text, entit
(
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)
(
在文本中,
通知日期时间ID,
actorid文本,
bucketid文本,
类别集,
entityactiontype int,
entityid文本,
entityownerid文本,
entitytype文本,
状态int,
viewedstatus布尔值,
主键
(通知日期)
使用群集排序方式(通知\日期说明)
当我通过仪表板运行此命令时,会出现此错误
“使用群集排序依据(通知\日期说明)和
cosmosdb_配置的_吞吐量=400;:
{“readyState”:4,“responseText”:“\”{\\“message\\”:\\”行15:382否
输入时的可行备选方案(…nt>,\\n entityactiontype
int,\\n entityid文本,\\n entityownerid文本,\\nentitytype文本,\\n状态int,\\n查看状态 布尔值,\\n主键\\n(n), 通知日期)\\n按(通知日期)进行群集排序 描述)带有…“
Cosmos DB的cassandra api不是100%兼容的。我猜Cosmos DB不支持WITH子句。我们发现了一些其他异常,导致我们从cassandra api切换到更健壮的文档