[v10.2.x] InfluxDB: Fix parsing multiple tags on backend mode #77382
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport 6b13064 from #77340
What is this feature?
This is fixing the response when we have multiple tags in the response. Multiple tags must be separated by a comma in the result. This also allows us to be in sync with the frontend mode result.
Why do we need this feature?
To have a proper output
Who is this feature for?
InfluxDB InfluxQL backend mode users
Special notes for your reviewer:
How to test?
influxdbBackendMigration=true
SELECT "usage_idle" FROM "cpu" WHERE $timeFilter GROUP BY "cpu"::tag, "host"::tag
cpu.usage_idle {cpu: cpu3 host: 41c9dcf3b960}
cpu.usage_idle {cpu: cpu3, host: 41c9dcf3b960}