GROUP BY
in InfluxQL should produce a different response structure
#25751
Labels
GROUP BY
in InfluxQL should produce a different response structure
#25751
Problem statement
The v1
/query
API returns a different response structure when aGROUP BY
is used in the query and our implementation of the/query
API is not adhering to that.Steps to reproduce
Running a v1.x InfluxDB instance, perform the following write:
Perform the following query:
This gives a response like:
Note the
tags
attribute in the response.Proposed solution
/query
API handler to adhere to this response structure.GROUP BY
aggregation, and which tag is being used so we can inform the code that composes the API response (seehttp/v1.rs
)Alternatives considered
N/A
Additional context
Slack thread.
The text was updated successfully, but these errors were encountered: