influxdata / influxdb-client-go

InfluxDB 2 Go Client
MIT License
609 stars 116 forks source link

Allow Querying through InfluxQL #373

Closed n-is closed 1 year ago

n-is commented 1 year ago

Proposal: InfluxDB 2.x supports Read-Only InfluxQL. But currently, the golang client library does not seem to support it. This proposal is to add this functionality to the client library.

Current behavior: The current golang client library only support querying through FluxQL.

Desired behavior: There should be some functions available that allow querying through InfluxQL.

Use case: This feature supports the older golang code-bases that still uses InfluxQL for querying and producing deliverables. With this feature, they can migrate to this newer client library quite easily, since all the other functionalities are backward compatible. This will help to migrate to Influx 2.x from an earlier release.

Yordroid commented 1 year ago

Is it supported now?

powersj commented 1 year ago

Hi,

Additional work on this library has stopped, except for issues or other maintenance.

The v1 golang library can continue to be used for influxql support via v1 auth. If using the new IOX backed influxdb, the v3 library supports both sql and influxql.