While executing this query :
Query queryObject = new Query("Select * from metric where \"name\" = "+"'"+nameMetric+"' and time >= '"+fD+"' AND time <= '"+tD+"' GROUP BY time(12m)" , dbName);
I'm getting this error:
Exception in thread "main" org.influxdb.InfluxDBMapperException: InfluxDB returned an error with Series: GROUP BY requires at least one aggregate function
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had recent activity. Please reopen if this issue is still important to you. Thank you for your contributions.