AzureCosmosDB / data-migration-desktop-tool

MIT License
122 stars 46 forks source link

CosmosDB to CosmosDB doesn't migrate "Id" field #100

Closed vacuum-in closed 5 months ago

vacuum-in commented 9 months ago

At the source database we have two fields "Id" and "id" where "id" is the CosmosDB standard field. Only standard field is created at sink container. Source container:

{
    "Id": "f703df15-32fa-4788-d7cd-08dbf7edaaaa",
.....
    "id": "f703df15-32fa-4788-d7cd-08dbf7edaaaa"
}

Sink container:

{
.....
    "id": "f703df15-32fa-4788-d7cd-08dbf7edaaaa"
...
}

"IncludeMetadataFields" set to true

sebas-ambrero commented 9 months ago

@vacuum-in I had the same issue with dmt-2.1.4-win-x64.

Checked out the code, and ran it locally, that worked fine for me.

adambarath commented 6 months ago

Any update on this?

bowencode commented 5 months ago

Using the latest code, the PreserveMixedCaseIds sink setting will now update this behavior to include multiple cases of id fields.