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

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

Github user StephanEwen commented on the issue:

    https://github.com/apache/flink/pull/5376
  
    Ah, one problem: What happens if the offset is larger (by absolute value) 
than the window length? Then the offset would still be negative with this 
change.


> 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