AzureCosmosDB / data-migration-desktop-tool

MIT License
129 stars 53 forks source link

PartitionKeyPath for /_partitionKey #60

Open marcjohnson1137 opened 1 year ago

marcjohnson1137 commented 1 year ago

@bowencode I am having trouble using the tool for the Sink where the container is Partition key "/_partitionKey".

Is this something that works or is it not supported?

Thanks for building this. Was a big user of the older Data Transfer tool for Cosmos.

bowencode commented 1 year ago

I don't think there should be any problem specific to that path for a partition key but there might be something else specific to your data that's exposing a bug or otherwise causing it not to work. What's the specific error you were getting? Which extension was the source?

fixturegram commented 1 year ago

By default, all paths starting with _ are considered meta data and ignored. You'll have to include it by setting "IncludeMetadataFields": true. This will include all the meta data fields though.