Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/333.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/cassandra/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# azure cosmos数据库在创建表时出现问题_C#_Cassandra_Azure Cosmosdb - Fatal编程技术网

C# azure cosmos数据库在创建表时出现问题

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

我正在尝试在azure cosmos db(cassandra)中创建表。我的create命令是

(
    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文本,\\n
entitytype文本,\\n状态int,\\n查看状态 布尔值,\\n主键\\n(n), 通知日期)\\n按(通知日期)进行群集排序 描述)带有…“


Cosmos DB的cassandra api不是100%兼容的。我猜Cosmos DB不支持WITH子句。我们发现了一些其他异常,导致我们从cassandra api切换到更健壮的文档