You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Kostas Kloudas (Jira)" <ji...@apache.org> on 2019/11/01 14:28:00 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=16964862#comment-16964862 ] 

Kostas Kloudas commented on FLINK-6214:
---------------------------------------

From the discussion here it seems that there is an alternative way of implementing the functionality proposed, without making any changes in the codebase. In addition, there does not seem to be much interest neither in the PR nor here.

Given the above, and the fact that the windowing code in Flink is already a bit complicated, I will close this issue.

Feel free to re-open it if you think that this is a valid addition.

> WindowAssigners do not allow negative offsets
> ---------------------------------------------
>
>                 Key: FLINK-6214
>                 URL: https://issues.apache.org/jira/browse/FLINK-6214
>             Project: Flink
>          Issue Type: Bug
>          Components: API / DataStream
>    Affects Versions: 1.2.0
>            Reporter: Timo Walther
>            Assignee: leesf
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)