xing1mo commented on code in PR #25637: URL: https://github.com/apache/flink/pull/25637#discussion_r2106168349
########## flink-table/flink-table-runtime/src/main/java/org/apache/flink/table/runtime/operators/aggregate/window/processors/WindowAggProcessorBase.java: ########## @@ -91,6 +91,9 @@ public void open(C context) throws Exception { public void initializeWatermark(long watermark) { if (isEventTime) { currentProgress = watermark; + // Restore the watermark of timerService to prevent expired data from being treated as + // not expired when flushWindowBuffer is executed. + windowTimerService.initializeWatermark(watermark); Review Comment: Thank you for your suggestion, the modification has been completed. -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org