InfluxCommunity / influxdb3-go

The go package that provides a simple and convenient way to interact with InfluxDB 3.
https://pkg.go.dev/github.com/InfluxCommunity/influxdb3-go
MIT License
21 stars 11 forks source link

Query should iterate over all endpoints #11

Closed bednar closed 1 year ago

bednar commented 1 year ago

The query "helper" should iterate over all endpoints not only over first:

https://github.com/bonitoo-io/influxdb3-go/blob/93ccdcd8d9283bef43b3dc333501d458c2dba5d1/influx/query.go#L52

Sciator commented 1 year ago

Is there known testcase when (*flightsql.Client).Execute(...) returns more than one endpoint ?

bednar commented 1 year ago

Is there known testcase when (*flightsql.Client).Execute(...) returns more than one endpoint ?

No, but info.Endpoint[0] smells like a bug 😄