yezhizi commented on issue #3217:
URL: https://github.com/apache/kvrocks/issues/3217#issuecomment-3508080611

   > The twa needs information about 12 and 22 to compute the area from 13 to 
15 and from 19 to 20. However, the `ts.range` filters out the data (from 13 to 
20) prior to aggregation.
   > 
   > I can try modifying the `TimeSeries::rangeCommon()` to include the `prev` 
and `next` values in the `res` vector. Is there any other way to do this?
   
   Sorry for the delay. I understand this issue. Modifying 
TimeSeries::rangeCommon() to include `prev` and `next` for TWA aggregator seems 
like a good solution.


-- 
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