Is it possible to perform GROUP BY aggregation across multiple measurements, 
such that they can be selected into a new single measurement?

For example, I'd like to do something like:

SELECT COUNT(value) as h_count, SUM(value) as h_sum, MIN(value) as h_min, 
MAX(value) as h_max INTO hourly FROM /rawdata.*/ GROUP BY time(1h), tag1, tag2

The result I'm seeing when I try this leads me to believe the aggregate 
function isn't being applied across all the matched measurements -- just within 
each. Is there a way to aggregate across all of them with InfluxQL? If so, how?

If not, I can probably work around this with a different schema, but it seems 
like it'd be a useful thing to be able to do.

Thanks,
Casey

-- 
Remember to include the InfluxDB version number with all issue reports
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/bfd31c07-f365-43be-9490-6c0552dde624%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to