Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-8054

Deduplicate Time classes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 1.4.0
    • None
    • API / DataStream
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chesnay Chesnay Schepler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: