You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Paul Lin (JIRA)" <ji...@apache.org> on 2018/10/25 12:59:00 UTC
[jira] [Created] (FLINK-10680) Unable to set negative offsets for
TumblingEventTimeWindow
Paul Lin created FLINK-10680:
--------------------------------
Summary: Unable to set negative offsets for TumblingEventTimeWindow
Key: FLINK-10680
URL: https://issues.apache.org/jira/browse/FLINK-10680
Project: Flink
Issue Type: Bug
Components: DataStream API
Affects Versions: 1.6.1
Reporter: Paul Lin
The following code given in documentation throws an IllegalArgumentException: TumblingEventTimeWindows parameters must satisfy 0 <= offset < size.
> TumblingEventTimeWindows.of(Time.days(1), Time.hours(-8));
By design, the offset could be negative to fit in different time zones.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)