Wrong inference of azure storage table entity value type
See original GitHub issueDescribe the bug
If I insert an entity value “123_456.1” using az storage entity insert
, “123456.1” is actually inserted. I think az cli infers the type, and converts it to a numeric type.
To Reproduce
az storage entity insert ... --entity PartitionKey=PartitionKey RowKey=1 'Name=123_456.1'
Expected behavior
123_456.1
should be inserted.
Environment summary
az --version
azure-cli 2.13.0
core 2.13.0
telemetry 1.0.6
Extensions:
azure-devops 0.18.0
Additional context
looks like this might be related to #8032 .
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Azure Data Factory Table Storage Conversion Error
I think the issue is how Data Factory inference the data type. If you add the first value in DeliveryDate to be DateTime...
Read more >Table Storage error codes (REST API) - Microsoft Learn
Error code HTTP status code User message
DuplicatePropertiesSpecified Bad Request (400) A property is specified more than one time.
EntityNotFound Not Found (404) The specified...
Read more >Copy data to and from Azure Table storage - Microsoft Learn
Learn how to copy data from supported source stores to Azure Table storage, or from Table storage to supported sink stores, using Azure...
Read more >Troubleshoot mapping data flows - Azure Data Factory
Recommendation: Please check the cloud type in your related Azure Blob linked service. Error code: DF-Cosmos-DeleteDataFailed. Message: Failed ...
Read more >Understanding the Table service data model (REST API)
Storage Account; Tables, Entities, and Properties; See Also ... A property is a name, typed-value pair, similar to a column. The Table ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@tunz I could reproduce your issue but we send the request as you provided and cosmosdb changes the type. create an issue in https://github.com/Azure/azure-cosmos-table-python/issues/56
I have removed “cosmos” label. This label indicates that the issue is related to az cli cosmosdb. We are tracking these issues and since this issue is not related to cosmosdb cli, I am removing the label.