You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jelmer Kuperus (JIRA)" <ji...@apache.org> on 2018/01/05 10:49:02 UTC

[jira] [Commented] (FLINK-6214) WindowAssigners do not allow negative offsets

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

Jelmer Kuperus commented on FLINK-6214:
---------------------------------------

Is there any reason not to do the automatic conversion ? This is mildly confusing

> WindowAssigners do not allow negative offsets
> ---------------------------------------------
>
>                 Key: FLINK-6214
>                 URL: https://issues.apache.org/jira/browse/FLINK-6214
>             Project: Flink
>          Issue Type: Bug
>          Components: DataStream API
>    Affects Versions: 1.2.0
>            Reporter: Timo Walther
>
> Both the website and the JavaDoc promotes ".window(TumblingEventTimeWindows.of(Time.days(1), Time.hours(-8))) For example, in China you would have to specify an offset of Time.hours(-8)". But both the sliding and tumbling event time assigners do not allow offset to be negative.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)