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
Currently the slice API is sending the data for the range which has been requested. If we are in between two data points, the slice is empty. That's not right. Data exists but there are not represented.
Let's say there is t₀ < t₁(d) < t₂ < t₃ < t₄(d) < t₅
t₁(d) and t₄(d) are data points.
t₂ and t₃ represents the request range
We request the range from=t₂&to=t₃, where there is no data point, it would probably be good to get the data from t₁(d) and t₄(d) and return that in the slice.
The text was updated successfully, but these errors were encountered:
So I tried today to make it as simple as possible without too much recursion. I think we need to wait for the DB, that would be a lot more effective than trying to manage list slicing. :)
Currently the slice API is sending the data for the range which has been requested. If we are in between two data points, the slice is empty. That's not right. Data exists but there are not represented.
Let's say there is
t₀
<t₁(d)
<t₂
<t₃
<t₄(d)
<t₅
t₁(d)
andt₄(d)
are data points.t₂
andt₃
represents the request rangeWe request the range
from=t₂&to=t₃
, where there is no data point, it would probably be good to get the data fromt₁(d)
andt₄(d)
and return that in the slice.The text was updated successfully, but these errors were encountered: