This is an automated email from the ASF dual-hosted git repository.

dianfu pushed a commit to branch release-1.13
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.13 by this push:
     new 0a89a59  [FLINK-26775][python] WindowOperator#process_element 
registers wrong cleanup timer
0a89a59 is described below

commit 0a89a59065107e0fb8bb7301e8fe82cc5292396f
Author: Juntao Hu <[email protected]>
AuthorDate: Mon Mar 21 19:48:32 2022 +0800

    [FLINK-26775][python] WindowOperator#process_element registers wrong 
cleanup timer
    
    This closes #19186.
---
 flink-python/pyflink/fn_execution/datastream/window_operator.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink-python/pyflink/fn_execution/datastream/window_operator.py 
b/flink-python/pyflink/fn_execution/datastream/window_operator.py
index 5bb2220..aca2a69 100644
--- a/flink-python/pyflink/fn_execution/datastream/window_operator.py
+++ b/flink-python/pyflink/fn_execution/datastream/window_operator.py
@@ -382,7 +382,7 @@ class WindowOperator(object):
 
                 if trigger_result.is_purge():
                     self.window_state.clear()
-                self.register_cleanup_timer(window)
+                self.register_cleanup_timer(actual_window)
 
             merging_windows.persist()
         else:

Reply via email to