You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2018/01/24 10:45:00 UTC
[jira] [Closed] (FLINK-8054) Deduplicate Time classes
[ https://issues.apache.org/jira/browse/FLINK-8054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chesnay Schepler closed FLINK-8054.
-----------------------------------
Resolution: Duplicate
Fix Version/s: (was: 2.0.0)
> Deduplicate Time classes
> ------------------------
>
> Key: FLINK-8054
> URL: https://issues.apache.org/jira/browse/FLINK-8054
> Project: Flink
> Issue Type: Improvement
> Components: Core, Streaming
> Affects Versions: 1.4.0
> Reporter: Chesnay Schepler
> Priority: Trivial
>
> We currently have 2 {{Time}} classes in Flink, {{org.apache.flink.api.common.time.Time}} in flink-core and {{org.apache.flink.streaming.api.windowing.time.Time}} in flink-streaming-java.
> These classes are effectively identical (the one in flink-core is serializable and has a toString implementation), I suggest to merge them. The streaming Time class is part of the Streaming API so this would be a breaking change.
> We could also investigate whether the java 8 {{Duration}} class fulfills our needs.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)