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

Aljoscha Krettek closed FLINK-15841.
------------------------------------
    Fix Version/s: 1.11.0
       Resolution: Fixed

master: b9eee7816dda4b29a7f4261a7f46106113388799

> TimeWindow.intersects return true for consecutive windows
> ---------------------------------------------------------
>
>                 Key: FLINK-15841
>                 URL: https://issues.apache.org/jira/browse/FLINK-15841
>             Project: Flink
>          Issue Type: Bug
>          Components: API / DataStream
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>            Priority: Trivial
>              Labels: pull-request-available
>             Fix For: 1.11.0
>
>
> The TimeWindow JavaDoc explains that the start index is inclusive and the end 
> index is exclusive, therefore two windows T0 to T1 and T1 to T2 are next to 
> each other without overlapping.
> To fix this the intersects comparison should be changed to: {{this.start < 
> other.end && this.end > other.start}}
> Also a test should be added to verify the methods works correctly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to