zhihao zhang created FLINK-13928:
------------------------------------
Summary: Make windows api more extendable
Key: FLINK-13928
URL:
https://issues.apache.org/jira/browse/FLINK-13928 Project: Flink
Issue Type: Improvement
Components: API / DataStream
Affects Versions: 1.9.0
Reporter: zhihao zhang
Fix For: 2.0.0
I'm creating my own TimeWindow those days, which extends from `TimeWindow`, but the new TimeWindow does not work well with existing windows API.
For example, my own TimeWindow does not work with `DynamicEventTimeSessionWindows`, because
{code:java}
public class DynamicEventTimeSessionWindows<T> extends MergingWindowAssigner<T, TimeWindow> {}
{code}
`DynamicEventTimeSessionWindows` does not accept my TimeWindow.
So my proposal is
{code:java}
public class DynamicEventTimeSessionWindows<T, W extends TimeWindow> extends MergingWindowAssigner<T, W> {}
{code}
If this ticket is ok to go, I would like to take it.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)