Re: Window function - iterator data

2016-08-10 Thread Aljoscha Krettek
Hi, Kostas is right in that the elements are never explicitly sorted by timestamp. In some cases they might not even be iterated in the order that they were added so I would normally assume the order of the elements to be completely arbitrary. Cheers, Aljoscha On Wed, 10 Aug 2016 at 09:44 Kostas

Re: Window function - iterator data

2016-08-10 Thread Kostas Kloudas
Hi Paul, Elements are returned in the order they were added in the window. No sorting on timestamp is performed. Hope this helps, Kostas > On Aug 9, 2016, at 10:22 PM, Paul Joireman wrote: > > When you are using a window function the docs: > > https://ci.apache.org/projects/flink/flink-docs-m

Window function - iterator data

2016-08-09 Thread Paul Joireman
When you are using a window function the docs: https://ci.apache.org/projects/flink/flink-docs-master/apis/streaming/windows.html#windowfunction---the-generic-case state that A WindowFunction gets an Iterable containing all the elements of the window being processed If the input data strea