2.0.0
2.0.0 [2024-12-13]
Breaking Changes
Previously, the Query API did not respect the metadata type for columns returned from InfluxDB v3. This release fixes this issue. As a result, the type of some columns may differ from previous versions. For example, the timestamp column will now be
time.Time
instead ofarrow.Timestamp
.
Update steps:
- Update library:
go get github.com/InfluxCommunity/influxdb3-go/v2/influxdb3
- Update import path in Go files to
github.com/InfluxCommunity/influxdb3-go/v2/influxdb3
.
Features
- #114: Query API respects metadata types for columns returned from InfluxDB v3.
Tags are mapped as a "string", timestamp as "time.Time", and fields as their respective types:- iox::column_type::field::integer: => int64
- iox::column_type::field::uinteger: => uint64
- iox::column_type::field::float: => float64
- iox::column_type::field::string: => string
- iox::column_type::field::boolean: => bool