[ https://issues.apache.org/jira/browse/FLINK-14853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dawid Wysakowicz closed FLINK-14853. ------------------------------------ Resolution: Fixed Implemented in master: fa1ea5cddb6fd0b2b2eb3669ab70312af77d44d7 dff4837204dbfb72b3b6852b79c895364fd2dcfa ffa233a99bbb5a93cde14fa714d13bb7066688b8 1.10: 2fe90d05b573c00403d0d7c27b9161c41b567b0d f31311a50b3d5ef54d3406a94de8040fefdf2853 e23f89e4196312318a2c7344c62161f5398a6ff4 > Use higher granularity units in generated docs for Duration & MemorySize if > possible > ------------------------------------------------------------------------------------ > > Key: FLINK-14853 > URL: https://issues.apache.org/jira/browse/FLINK-14853 > Project: Flink > Issue Type: Improvement > Components: Documentation > Reporter: Dawid Wysakowicz > Assignee: Dawid Wysakowicz > Priority: Major > Labels: pull-request-available > Fix For: 1.10.0 > > Time Spent: 20m > Remaining Estimate: 0h > > It was mentioned on two occasions > (https://github.com/apache/flink/pull/10216#discussion_r346866339, > https://github.com/apache/flink/pull/10217/files#r347491314) that it would be > better to use a higher granularity units if it is possible. > Right now for a default value of {{Duration.ofMinutes(1)}} the generated > documentation will be printed as: > {{60000ms}} > but it would be better readable to print it as: > {{1min}} -- This message was sent by Atlassian Jira (v8.3.4#803005)