[ 
https://issues.apache.org/jira/browse/FLINK-4282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15413471#comment-15413471
 ] 

Aljoscha Krettek commented on FLINK-4282:
-----------------------------------------

In my opinion the offset parameter should just change how windows are aligned, 
i.e. if hourly windows start on the our or say at quarter past the hour. In 
concrete terms: without an offset we would have hourly windows 12:00-12:59, 
13:00-13:59 and so on. With an offset of 15 minutes we would have windows 
12:15-13:14, 13:15-14:14 and so on.

Putting the offset into the window and putting elements in windows where their 
timestamp is not actually contained in the window range can be problematic, as 
happens in your first example with processing time = 5.

> Add Offset Parameter to WindowAssigners
> ---------------------------------------
>
>                 Key: FLINK-4282
>                 URL: https://issues.apache.org/jira/browse/FLINK-4282
>             Project: Flink
>          Issue Type: Improvement
>          Components: Streaming
>            Reporter: Aljoscha Krettek
>
> Currently, windows are always aligned to EPOCH, which basically means days 
> are aligned with GMT. This is somewhat problematic for people living in 
> different timezones.
> And offset parameter would allow to adapt the window assigner to the timezone.



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

Reply via email to