question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wrong inference of azure storage table entity value type

See original GitHub issue

Describe 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:open
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Juliehzlcommented, Nov 26, 2020

@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

0reactions
MehaKaushikcommented, Jan 13, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found