[ 
https://issues.apache.org/jira/browse/FLINK-37982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Qilong Wang updated FLINK-37982:
--------------------------------
    Description: 
When execute processWatermark in TableKeyedAsyncWaitOperator, all results can 
not be triggered because mailboxExecutor cannnot execute until `endInput` 
because of `mailboxExecutor.yield()`

We need execute `mailboxExecutor.yield()` when processing processWatermark.

  was:
When execute processWatermark in TableKeyedAsyncWaitOperator, only results in 
first watermark can output from TableAsyncExecutionController.

Other results can only be triggered by endInput because of 
`mailboxExecutor.yield()`

We need execute `mailboxExecutor.yield()` when processing processWatermark.

tryFinish before outputQueue.size(): 1
tryFinish before outputQueue.size(): 1
tryFinish before outputQueue.size(): 1
tryFinish before outputQueue.size(): 1
tryFinish before outputQueue.size(): 0
execute endInput
tryFinish before outputQueue.size(): 1
tryFinish before outputQueue.size(): 1
tryFinish before outputQueue.size(): 1
tryFinish before outputQueue.size(): 1
tryFinish before outputQueue.size(): 0
tryFinish before outputQueue.size(): 1
tryFinish before outputQueue.size(): 1
tryFinish before outputQueue.size(): 1
tryFinish before outputQueue.size(): 1


> When Watermark is updated, the result output in TableAsyncExecutionController 
> cannot be triggered
> -------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-37982
>                 URL: https://issues.apache.org/jira/browse/FLINK-37982
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Runtime
>    Affects Versions: 2.1.0
>            Reporter: Qilong Wang
>            Priority: Major
>
> When execute processWatermark in TableKeyedAsyncWaitOperator, all results can 
> not be triggered because mailboxExecutor cannnot execute until `endInput` 
> because of `mailboxExecutor.yield()`
> We need execute `mailboxExecutor.yield()` when processing processWatermark.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to