flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-4282) Add Offset Parameter to WindowAssigners
Date Fri, 05 Aug 2016 04:55:20 GMT

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

ASF GitHub Bot commented on FLINK-4282:

Github user aditivin commented on the issue:

    Only the relevant changes are now visible. Pasting the details from the previous pull
request (#2331) here:
    Added offset parameter for the following processing time window assigners:
    The offset is an optional parameter that can be added while creating these classes, and
it can be supplied as a long value or a TimeZone.
    Test cases for the change are present in WindowAssignerOffsetTest. There are tests for
positive, negative and TimeZone offsets for each of the classes.
    All Travis CI jobs passed.
    I haven't done it for the event time window assigners yet - I can add that if this is
all right.

> 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

View raw message