[jira] [Created] (FLINK-2234) CoStreamWindow is Dependent on Input Ordering

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

[jira] [Created] (FLINK-2234) CoStreamWindow is Dependent on Input Ordering

Shang Yuanchun (Jira)
Aljoscha Krettek created FLINK-2234:
---------------------------------------

             Summary: CoStreamWindow is Dependent on Input Ordering
                 Key: FLINK-2234
                 URL: https://issues.apache.org/jira/browse/FLINK-2234
             Project: Flink
          Issue Type: Improvement
          Components: Streaming
            Reporter: Aljoscha Krettek
            Assignee: Aljoscha Krettek


The implementation depends on elements always arriving in a round-robin fashion, i.e. element from first input, then element from second input, then first again and so on (read order is 1,2,1,2...). I don't think this assumption holds for real-world problems.

For example, CoWindowTest produces wrong results if MockCoContext is modified to read two elements from input 1 and then one from two (read order 1,1,2,1,1,2...).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)