JingsongLi edited a comment on issue #8102: [FLINK-12087][table-runtime-blink] 
Introduce over window operators to blink batch
URL: https://github.com/apache/flink/pull/8102#issuecomment-480702530
 
 
   >> As I said before, you can immediately determine the left and right 
boundary with currentIndex - precedingCount, currentIndex + followingCount
   
   I think we don't need this optimization now.
   In `RowSlidingFrame`, we don't need immediately determine boundary. Because 
it must be head boundary plus 1 and end boundary plus 1, Even if change to 
immediately determine boundary. The algorithm complexity is the same.
   See more detail in `SlidingOverFrame.process`, next current row computation 
will reuse previous buffer.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to