[
https://issues.apache.org/jira/browse/FLINK-22510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-22510:
-----------------------------------
Labels: pull-request-available (was: )
> 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
>
> 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)