You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by di...@apache.org on 2022/03/22 07:10:57 UTC

[flink] branch release-1.15 updated: [FLINK-26775][python] WindowOperator#process_element registers wrong cleanup timer

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

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


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

commit 065ddea6320fc25406d3e78c62844c09b578ca82
Author: Juntao Hu <ma...@gmail.com>
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/window_operator.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink-python/pyflink/fn_execution/datastream/window/window_operator.py b/flink-python/pyflink/fn_execution/datastream/window/window_operator.py
index 0e4575f..234bc97 100644
--- a/flink-python/pyflink/fn_execution/datastream/window/window_operator.py
+++ b/flink-python/pyflink/fn_execution/datastream/window/window_operator.py
@@ -375,7 +375,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: