-
Notifications
You must be signed in to change notification settings - Fork 1.6k
az cosmosdb copy changes time values #8749
Copy link
Copy link
Open
Labels
Auto-AssignAuto assign by botAuto assign by botCosmosDBService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botCosmosDBService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Describe the bug
I used the
az cosmosdb copyoperation to copy items from a container in a nosql database in one cosmos db account to another account. The items in the source container included a/timefield with UTC formatted values (e.g."time": "2023-11-28T15:55:17.000000Z". In the destination container, these fields were written as"time": "2023-11-28T15:55:17Z"instead.Related command
az cosmosdb copy
Errors
No error occurred.
Issue script & Debug output
I can't re-run this long operation to provide debug output.
Expected behavior
The items should be copied without changing user-inputted fields in any way whatsoever.
Environment Summary
azure-cli 2.71.0 *
core 2.71.0 *
telemetry 1.1.0
Extensions:
cosmosdb-preview 1.2.1
Dependencies:
msal 1.31.2b1
azure-mgmt-resource 23.1.1
Additional context
No response