influxdata / influxdata/influxdb
[Feature Request] Please add full support of NaN and +-Inf.
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
Please add full support of NaN and +-Inf.
They are part of IEEE 754 double-precision specification
ie 7fff ffff ffff ffff = NaN
https://en.wikipedia.org/wiki/Double-precision_floating-point_format
Sometimes NaN and InF are used in data. For example NaN may be used to show no data from sensor. NaN is commonly used in financial time series to store no rate event.
At the moment in Influxdb 0.9.3 we can write NaN into DB, but it is not possible to select any seiries that include NaN. See https://github.com/influxdb/influxdb/issues/3994 and https://github.com/influxdb/influxdb/issues/3539
As far as I undestand there is no support of Nan in Json. https://github.com/golang/go/issues/3480
May be it is possible to add full IEEE 754 support to InfluxDB line protocol.
Contributor guide
Assessment
This issue has not been assessed yet.