Azure / azure-cosmosdb-bulkexecutor-dotnet-getting-started

Bulk Executor Utility for Azure Cosmos DB .NET SQL API
MIT License
66 stars 41 forks source link

Unable to delete / update data in undefined partition #36

Open ogliznutsa opened 5 years ago

ogliznutsa commented 5 years ago

It is impossible to use Bulk Executor to delete documents that are stored in "undefined" partition (document is stored in "undefined" partition if it doesn't have partition key property). In general DocumentDb library there is special new PartitionKey(Undefined.Value) for such purpose, but since Bulk Executor requires stringified partition key for delete / update, it is impossible to use Undefined.Value. (Undefined.Value.ToString(), string.Empty, "0" doesn't work either)

Cazanpaul commented 5 years ago

Is there any workaround for this?

sillo01 commented 4 years ago

Tried with null, didn't work