Skip to content
Advertisement

InfluxQL: tag called Group causing grief

I have to work with an influxDB database and one of the tags is called Group. For example the query select * from Testing limit 10 returns

The problem is when I try to have a rule based on group, e.g.

I get an error that says

ERR: error parsing query: found GROUP, expected identifier, string, number, bool at line 1, char 29.

Basically it treats Group as a function not as a tag. Is there any way to escape the keyword Group and query the database.

PS. I didn’t have to do anything with the design and it cannot be changed now.

Advertisement

Answer

you can escape it using double quote:

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement