[
https://issues.apache.org/jira/browse/FLINK-13928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ruan Hang updated FLINK-13928:
------------------------------
Fix Version/s: 2.3.0
(was: 2.2.0)
> 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: 2.1.0
> Reporter: zhihao zhang
> Priority: Minor
> Labels: auto-deprioritized-major, windows
> Fix For: 2.3.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.20.10#820010)