[jira] [Commented] (FLINK-14182) Make TimeUtils able to parse duration string with plural form labels

2019-09-24 Thread tison (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-14182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16936533#comment-16936533
 ] 

tison commented on FLINK-14182:
---

I've assigned the ticket to you [~zhuzh]. Go ahead :-)

> Make TimeUtils able to parse duration string with plural form labels
> 
>
> Key: FLINK-14182
> URL: https://issues.apache.org/jira/browse/FLINK-14182
> Project: Flink
>  Issue Type: Sub-task
>  Components: Runtime / Coordination
>Affects Versions: 1.10.0
>Reporter: Zhu Zhu
>Assignee: Zhu Zhu
>Priority: Major
> Fix For: 1.10.0
>
>
> Scala Duration supports parsing plural form time unit label except for the 
> shortest label of a TimeUnit. Namely:
> {
> "d day days",
> "h hour s",
> "min minute minutes",
> "s sec secs second seconds",
> "ms milli millis millisecond milliseconds",
> "µs micro micros microsecond microseconds",
> "ns nano nanos nanosecond nanoseconds"
> }
> TimeUtils should support them as well.



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


[jira] [Commented] (FLINK-14182) Make TimeUtils able to parse duration string with plural form labels

2019-09-24 Thread Zhu Zhu (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-14182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16936530#comment-16936530
 ] 

Zhu Zhu commented on FLINK-14182:
-

[~Tison] [~trohrmann] I find this issue when working on FLINK-14070. 
Could you assign it to me if you think it makes sense? I can open a PR to fix 
it.

> Make TimeUtils able to parse duration string with plural form labels
> 
>
> Key: FLINK-14182
> URL: https://issues.apache.org/jira/browse/FLINK-14182
> Project: Flink
>  Issue Type: Sub-task
>  Components: Runtime / Coordination
>Affects Versions: 1.10.0
>Reporter: Zhu Zhu
>Priority: Major
> Fix For: 1.10.0
>
>
> Scala Duration supports parsing plural form time unit label except for the 
> shortest label of a TimeUnit. Namely:
> {
> "d day days",
> "h hour s",
> "min minute minutes",
> "s sec secs second seconds",
> "ms milli millis millisecond milliseconds",
> "µs micro micros microsecond microseconds",
> "ns nano nanos nanosecond nanoseconds"
> }
> TimeUtils should support them as well.



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