You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proposal:
Hi,I found two functional optimization suggestions。(ps: translated this by tools, i'm not sure if it is correct. XD)
When using the "influxQLQueryApi.query()" , the returned data does not contain error message, and no exception was throwed.
When I used influxQL to query the data. I used the "avg()" function incorrectly (it should be "mean()"), which caused me to fail to get the data correctly, but the query api kept returning empty data. I thought there was no data at that time.
InfluxQLQuery's default acceptHeader is csv, which is much less informative than json format.
Current behavior:
when using "influxQLQueryApi.query()", there is no error message in the returned data
this influxdb api "/query" 's returned data like this:
Proposal:
Hi,I found two functional optimization suggestions。(ps: translated this by tools, i'm not sure if it is correct. XD)
When I used influxQL to query the data. I used the "avg()" function incorrectly (it should be "mean()"), which caused me to fail to get the data correctly, but the query api kept returning empty data. I thought there was no data at that time.
Current behavior:
when using "influxQLQueryApi.query()", there is no error message in the returned data
this influxdb api "/query" 's returned data like this:
Desired behavior:
when using "influxQLQueryApi.query()", the returned data have error message.
Alternatives considered:
throw exception with error message
Use case:
maybe when influxQL goes wrong, the program knows what went wrong
thanks.
The text was updated successfully, but these errors were encountered: