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
I'm able to get this working, although more work is still needed on getting the fill iterator in the correct place.
> select mean(value) from cpu where time >= 1455204070s and time < 1455204090s group by time(10s)
name: cpu
---------
time mean
1455204070000000000 1
1455204080000000000 2
> select derivative(mean(value), 1s) from cpu where time >= 1455204070s and time < 1455204090s group by time(10s)
name: cpu
---------
time derivative
1455204080000000000 0.1
> select derivative(mean(value), 1s) * 10 from cpu where time >= 1455204070s and time < 1455204090s group by time(10s)
name: cpu
---------
time
1455204080000000000 1
This was tested based on two points in two adjacent intervals off of 8d7a4a9.
Derivatives rely on the underlying iterator to handle start and end
times. They do not perform them or organize points into groups. In
certain circumstances, the start time or end time that got implicitly
passed could be on an uneven interval with the first point returned by
the aggregate, which caused the entire iterator not to be read.
This fixes#5571.
This works:
This does not work:
Seems similar to #4849
Observed on InfluxDB 0.9.6.1 running on Centos 7.2.
The text was updated successfully, but these errors were encountered: