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

ASF GitHub Bot commented on FLINK-6214:
---------------------------------------

Github user StephanEwen commented on the issue:

    https://github.com/apache/flink/pull/5376
  
    If we decide that we want to support negative offsets, this looks like a 
good implementation.
    
    @aljoscha what is your take, should we support negative offsets?


> 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
>            Priority: Major
>
> 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
(v7.6.3#76005)

Reply via email to