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
Hello,
I want to export measurement "Cos φ". Unfortunately, I always get java error, no matter how I pass special character in argument(directly, qoutation marks, backslash, unicode etc.). Is there a way to export data using queries with special characters?
java -cp /home/user/influxdb-fetcher-1.0.3.jar com.github.hgomez.influxdb.InfluxDBFetcher http://[ip]:8086 [user] [pass] [db] "SELECT * from Cos φ GROUP BY *" > cos.dump
Exception in thread "main" org.influxdb.InfluxDBException: error parsing query: found φ, expected ; at line 1, char 19 at org.influxdb.InfluxDBException.buildExceptionFromErrorMessage(InfluxDBException.java:161) at org.influxdb.InfluxDBException.buildExceptionForErrorState(InfluxDBException.java:189) at org.influxdb.impl.InfluxDBImpl.execute(InfluxDBImpl.java:835) at org.influxdb.impl.InfluxDBImpl.executeQuery(InfluxDBImpl.java:824) at org.influxdb.impl.InfluxDBImpl.query(InfluxDBImpl.java:559) at com.github.hgomez.influxdb.InfluxDBFetcher.main(InfluxDBFetcher.java:68)
The text was updated successfully, but these errors were encountered:
Hello,
I want to export measurement "Cos φ". Unfortunately, I always get java error, no matter how I pass special character in argument(directly, qoutation marks, backslash, unicode etc.). Is there a way to export data using queries with special characters?
java -cp /home/user/influxdb-fetcher-1.0.3.jar com.github.hgomez.influxdb.InfluxDBFetcher http://[ip]:8086 [user] [pass] [db] "SELECT * from Cos φ GROUP BY *" > cos.dump
Exception in thread "main" org.influxdb.InfluxDBException: error parsing query: found φ, expected ; at line 1, char 19 at org.influxdb.InfluxDBException.buildExceptionFromErrorMessage(InfluxDBException.java:161) at org.influxdb.InfluxDBException.buildExceptionForErrorState(InfluxDBException.java:189) at org.influxdb.impl.InfluxDBImpl.execute(InfluxDBImpl.java:835) at org.influxdb.impl.InfluxDBImpl.executeQuery(InfluxDBImpl.java:824) at org.influxdb.impl.InfluxDBImpl.query(InfluxDBImpl.java:559) at com.github.hgomez.influxdb.InfluxDBFetcher.main(InfluxDBFetcher.java:68)
The text was updated successfully, but these errors were encountered: