[
https://issues.apache.org/jira/browse/FLINK-14068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17882175#comment-17882175
]
Matthias Pohl edited comment on FLINK-14068 at 9/29/24 2:32 PM:
----------------------------------------------------------------
* master
**
[502d9673f5682d040ad75ca0159817b90421811b|https://github.com/apache/flink/commit/502d9673f5682d040ad75ca0159817b90421811b]
({{{}org.apache.flink.api.common.time.Time{}}})
**
[153614716767d5fb8be1d4caa5e72167ce64a9d7|https://github.com/apache/flink/commit/153614716767d5fb8be1d4caa5e72167ce64a9d7]
({{{}org.apache.flink.api.common.time.Time{}}})
** [d2ac6bda28cf605c9b3b63be71dbd655194dc6d2
|https://github.com/apache/flink/commit/d2ac6bda28cf605c9b3b63be71dbd655194dc6d2]({{{}org.apache.flink.streaming.api.windowing.time.Time{}}})
was (Author: mapohl):
* {{master}}:
**
[153614716767d5fb8be1d4caa5e72167ce64a9d7|https://github.com/apache/flink/commit/153614716767d5fb8be1d4caa5e72167ce64a9d7]
** tba
* master
**
[502d9673f5682d040ad75ca0159817b90421811b|https://github.com/apache/flink/commit/502d9673f5682d040ad75ca0159817b90421811b]
( {{org.apache.flink.api.common.time.Time}} )
**
[d2ac6bda28cf605c9b3b63be71dbd655194dc6d2|https://github.com/apache/flink/commit/d2ac6bda28cf605c9b3b63be71dbd655194dc6d2]
( {{org.apache.flink.api.common.time.Time}} )
**
[153614716767d5fb8be1d4caa5e72167ce64a9d7|https://github.com/apache/flink/commit/153614716767d5fb8be1d4caa5e72167ce64a9d7]
( {{org.apache.flink.streaming.api.windowing.time.Time}} )
> Use Java's Duration instead of Flink's Time
> -------------------------------------------
>
> Key: FLINK-14068
> URL: https://issues.apache.org/jira/browse/FLINK-14068
> Project: Flink
> Issue Type: Sub-task
> Components: API / DataStream, Runtime / Configuration, Runtime /
> Coordination
> Reporter: Zili Chen
> Assignee: Matthias Pohl
> Priority: Major
> Labels: 2.0-related, pull-request-available
> Fix For: 2.0-preview
>
>
> As discussion in mailing list
> [here|https://lists.apache.org/x/thread.html/90ad2f1d7856cfe5bdc8f7dd678c626be96eeaeeb736e98f31660039@%3Cdev.flink.apache.org%3E]
> the community reaches a consensus that we will use Java's Duration for
> representing "time interval" instead of use Flink's Time for it.
> Specifically, Flink has two {{Time}} classes, which are
> {{org.apache.flink.api.common.time.Time}}
> {{org.apache.flink.streaming.api.windowing.time.Time}}
> the latter has been already deprecated and superseded by the former. Now we
> want to also deprecated the former and drop it in 2.0.0(we don't drop it just
> now because it is part of {{@Public}} interfaces).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)