[ 
https://issues.apache.org/jira/browse/FLINK-22510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timo Walther closed FLINK-22510.
--------------------------------
    Fix Version/s: 1.14.0
       Resolution: Fixed

Fixed in 1.14.0: 89c6c03660a88a648bbd13b4e6696124fe46d013

> ConfigurationUtils always serializes Duration to nanoseconds
> ------------------------------------------------------------
>
>                 Key: FLINK-22510
>                 URL: https://issues.apache.org/jira/browse/FLINK-22510
>             Project: Flink
>          Issue Type: Improvement
>          Components: API / Core
>    Affects Versions: 1.12.2, 1.13.0
>            Reporter: Ingo Bürk
>            Assignee: Ingo Bürk
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.14.0
>
>
> ConfigurationUtils#convertToString is hard-coded to serialize instances of 
> Duration into nanoseconds. This often produces output which isn't really 
> human-understandable. It would be good to be a bit smarter here in how this 
> is serialized to make it more natural to humans.
> A possible solution could be choosing the lowest unit with which the value 
> can be expressed as an integer, e.g. "1 min", "35 s", "3256 ms", …



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to