flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Ewen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-4282) Add Offset Parameter to WindowAssigners
Date Mon, 01 Aug 2016 16:04:20 GMT

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

Mime
View raw message