influxdb-python
influxdb-python copied to clipboard
influxdb-python 5.3 converts InfluxDB integer types to python float
InfluxDB version: v1.7.10 InfluxDB-python version: 5.3.0 Python version: 3.8, 3.7, 2.7 OS: Ubuntu 16.04, 18.04
InfluxDB-python 5.3.0 seems to convert InfluxDB integer data to python float type
InfluxDB-python 5.2.3 correctly output data stored as ints in InfluxDB as python int type.
@utlco thanks for the issue! would you be interested in opening a PR?
I apologize - I may have jumped the gun. This may not actually be a bug in 5.3 but correct behavior, and it was 5.2.3 that had been deserializing to the wrong type all along. I just looked more carefully at the key types in our db and what we thought was an integer field was actually stored as a float... Anyway, please feel free close this out and I'll do more tests and create a code snippet with data to reproduce and a PR it if in fact it's actually a bug.