[jira] [Created] (FLINK-8054) Deduplicate Time classes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-8054) Deduplicate Time classes

Shang Yuanchun (Jira)
Chesnay Schepler created FLINK-8054:
---------------------------------------

             Summary: 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
             Fix For: 2.0.0


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)