You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Maximilian Bode <ma...@tngtech.com> on 2016/09/22 11:35:57 UTC

Daily/hourly TumblingEventTimeWindows

Hi everyone,

is there an easy way to implement a tumbling event time window that tumbles at a certain time? Examples could be daily or hourly (tumbling at exactly 00:00, 01:00, 02:00 etc.) windows.

So in particular, for a daily window, the first window would be shorter than the rest, tumble at midnight and after that it would basically be the same as a regular 24h TumbilngEventTimeWindow.

Cheers,
Max

Re: Daily/hourly TumblingEventTimeWindows

Posted by Maximilian Bode <ma...@tngtech.com>.
I have just noticed that this is exactly what it currently does. Reading the docs I assumed all windows would be of the same size.

> Am 22.09.2016 um 13:35 schrieb Maximilian Bode <ma...@tngtech.com>:
> 
> Hi everyone,
> 
> is there an easy way to implement a tumbling event time window that tumbles at a certain time? Examples could be daily or hourly (tumbling at exactly 00:00, 01:00, 02:00 etc.) windows.
> 
> So in particular, for a daily window, the first window would be shorter than the rest, tumble at midnight and after that it would basically be the same as a regular 24h TumbilngEventTimeWindow.
> 
> Cheers,
> Max