Inserting an whole number as a double results in a Int32 field of an entity
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 393
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 36
Description
### Which service(blob, file, queue, table) does this issue concern?
table
### Which version of the Azurite was used?
3.16.0
### Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
npm
### What's the Node.js version?
16.3.1
### What problem was encountered?
When using `EntityProperty.GeneratePropertyForDouble((double?)1.0D)`
the data type of the property in the table is set to `Int32`, and not to `Double`, incorrectly.
When using `EntityProperty.GeneratePropertyForDouble((double?)1.1D)`
the data type of the property in the table is set to `Double`, correctly.
### Steps to reproduce the issue?
If possible, please provide the debug log using the -d parameter, replacing \ with an appropriate path for your OS, or review the instructions for docker containers:
```
-d ""
```
Please be sure to remove any PII or sensitive information before sharing!
The debug log will log raw request headers and bodies, so that we can replay these against Azurite using REST and create tests to validate resolution.
### Have you found a mitigation/solution?
No
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.