【发布时间】:2021-01-31 00:05:57
【问题描述】:
是否可以在 azure cosmosdb cassandra arm 模板中定义 PRIMARY 键?
假设我有下一张桌子:
CREATE TABLE foo
(
id text
name test
PRIMARY KEY (id)
)
还有我的 ARM 模板:
"schema":{
"columns":[
{
"name":"id",
"type":"text"
}
],
"partitionKeys":[
{"name":"id"} // how to define primary key ?
}
【问题讨论】:
标签: azure cassandra azure-cosmosdb arm-template azure-cosmosdb-cassandra-api