You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2016/08/01 16:04:20 UTC

[jira] [Commented] (FLINK-4282) Add Offset Parameter to WindowAssigners

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

Stephan Ewen commented on FLINK-4282:
-------------------------------------

Seems the offset can serve two purposes:

  1. Compensate for timezones. This should be only relevant, though, if the event's timestamps are assigned based on UTC / EPOCH, but the window result should be not. Should we actually provide a "target timezone" for that, rather than an offset?

  2. To create windows like "hourly, but starting at quarter past". Here, an offset would make sense (smaller than the window size, though)



> 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)