flink
flink copied to clipboard
[FLINK-38321][table] Optimize the timer registration logic in window e…
What is the purpose of the change
Optimize the timer registration logic in window early/late firing scenarios. For keys that will not receive subsequent data, it is unnecessary to repeatedly register processing timers, thereby reducing the number of timers and state access to improve performance.
Verifying this change
org.apache.flink.table.runtime.operators.window.groupwindow.operator.WindowOperatorTest#testEventTimeTumblingWindowsWithEarlyFiring org.apache.flink.table.runtime.operators.window.groupwindow.operator.WindowOperatorTest#testEventTimeTumblingWindowsWithEarlyAndLateFirings
Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (no)
- The public API, i.e., is any changed class annotated with
@Public(Evolving): (no) - The serializers: (no)
- The runtime per-record code paths (performance sensitive): (no)
- Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
- The S3 file system connector: (no)
Documentation
- Does this pull request introduce a new feature? (no)
- If yes, how is the feature documented? (not applicable)
CI report:
- 5e503a708b112b0eb202c9f39199cf94fd829f79 Azure: SUCCESS
Bot commands
The @flinkbot bot supports the following commands:@flinkbot run azurere-run the last Azure build