AzureCosmosDB / HierarchicalPartitionKeysFeedbackGroup

Repo for the preview of hierarchical partition keys in Cosmos DB.
11 stars 3 forks source link

Clarification around heirarchical partition keys and data changing operations #9

Open mackie1001 opened 2 years ago

mackie1001 commented 2 years ago

Am I correct in thinking that stored procedure calls and batch operations must specify a value for every defined partition key path for the container?

For example, if I had [/pk1, /pk2] as my key paths then any ExecuteStoredProcedureAsync call or TransactionalBatch must specify both values as otherwise just the value of /pk1 may span more than one physical partition?