[ https://issues.apache.org/jira/browse/FLINK-23031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17471687#comment-17471687 ]
Wenlong Lyu commented on FLINK-23031: ------------------------------------- hi, [~aitozi], according to your description: you are trying to optimize the timer by avoiding trigger timer when there is no new input of a window right? I think we can just do the optimization internally(just don't register timer in onProcessingTime as you proposed firstly), instead of expose new option of users, because when there is no new input, the result of window will not be changed, the output with the same UA and UB will be ignored in Window Operator, so there is not output records actually when timer is triggered. BTW, It would be better to description the solution and affects directly in the description of issue, and attaching the testing result if you has done some. > Support to emit window result with periodic or non_periodic > ----------------------------------------------------------- > > Key: FLINK-23031 > URL: https://issues.apache.org/jira/browse/FLINK-23031 > Project: Flink > Issue Type: Improvement > Components: Table SQL / Planner > Reporter: Aitozi > Priority: Major > Labels: pull-request-available > Fix For: 1.15.0 > > -- This message was sent by Atlassian Jira (v8.20.1#820001)