[jira] [Created] (FLINK-13491) AsyncWaitOperator doesn't handle endOfInput call properly

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-13491) AsyncWaitOperator doesn't handle endOfInput call properly

Shang Yuanchun (Jira)
Piotr Nowojski created FLINK-13491:
--------------------------------------

             Summary: AsyncWaitOperator doesn't handle endOfInput call properly
                 Key: FLINK-13491
                 URL: https://issues.apache.org/jira/browse/FLINK-13491
             Project: Flink
          Issue Type: Bug
          Components: API / DataStream
    Affects Versions: 1.9.0
            Reporter: Piotr Nowojski
             Fix For: 1.9.0


This is the same issue as for {{ContinousFileReaderOperator}} in https://issues.apache.org/jira/browse/FLINK-13376. {{AsyncWaitOperator}} will propagate {{endInput}} notification immediately, even if it has some records buffered.

Side note, this also shows that the current {{BoundedOneInput#endInput}} API is easy to mishandle if an operator buffers some records internally. Maybe we could redesign this API somehow [~aljoscha] [~sunhaibotb]?



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)