var-nan commented on issue #3217:
URL: https://github.com/apache/kvrocks/issues/3217#issuecomment-3568885831

   Hi @yezhizi. I have a question. What happens to the result when we specify 
EMPTY flag, and there are no samples in the filtered range before aggregation?
   
   For example, consider there exists only two samples in the series `sample_1 
= {10,34}, sample_2 = {95,34}`.  And `ts.range series 20 90 AGGREGATION TWA 10 
EMPTY`
   
   Since there are no samples in the filtered region, should it return a single 
`NaN` or should it return TWA for all empty buckets `20-30, 30-40, 
40-50,......80-90`. In this case all the TWA is same for all the buckets.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to