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
Yes, it is expected, a backslash is escaped in a flux string and then also in a go string. You can use golang's raw string literal to have less backslashes in a go string:
The example queries I shared are generated with raw string literals by the way. It still requires escaping the backslashes twice. Thanks for confirming the backslashes are escaped in a flux string as well as in a go string.
I'm using influxdb go client to run flux queries. I am having trouble filtering by a tag whose value is a windows file path with backslashes.
Query:
Error:
invalid (): compilation failed: expected RPAREN, got EOF
If I replace all backslashes with double backslashes it works fine.
Questions:
Note: I'm using an older version of go client (from April) but I am able to repro this issue with latest version v1.4.0
The text was updated successfully, but these errors were encountered: