I am using influx 0.13.0

If I run a query like the following from within the influx client:

select mean(value) from /process/ where time >= now() - 40m and time < 
now() - 20m group by host, time(5m)

I see four time series shown in the following order:


*name: process_atags: host=apple*
time            mean
----            ----
1480640400000000000    
1480640100000000000    
1480639800000000000    5303.000749873667
1480639500000000000    5303.0006949655
1480639200000000000    5303.000645723


*name: process_atags: host=butter*
time            mean
----            ----
1480640400000000000    
1480640100000000000    
1480639800000000000    5268.000403206001
1480639500000000000    5268.0003494635
1480639200000000000    5268.0003098444995


*name: process_btags: host=apple*
time            mean
----            ----
1480640400000000000    
1480640100000000000    
1480639800000000000    5773.000883236
1480639500000000000    5773.0008339935
1480639200000000000    5773.000784001


*name: process_btags: host=butter*
time            mean
----            ----
1480640400000000000    
1480640100000000000    
1480639800000000000    4598.000522668
1480639500000000000    4598.0004695515
1480639200000000000    4598.000431057


Note the order of the time series. They are ordered first by the time 
series name and second by the time series 'host' tag value.  

If I were to add ' order by time desc' to my query, the time series 
themselves would show in reverse order in addition to their times being in 
reverse order.






*Question: Can I safely make any assumptions about the order of time series 
within a result set?Question: Do current influx db clients such as the go 
client library make any assumptions about the order of time series within a 
result set?*

-- 
Remember to include the version number!
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxData" 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/060b5923-26e3-4044-94f8-6925ca9b5312%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to