[jira] [Created] (FLINK-18245) Support to parse -1 for MemorySize and Duration ConfigOption

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-18245) Support to parse -1 for MemorySize and Duration ConfigOption

Shang Yuanchun (Jira)
Jark Wu created FLINK-18245:
-------------------------------

             Summary: Support to parse -1 for MemorySize and Duration ConfigOption
                 Key: FLINK-18245
                 URL: https://issues.apache.org/jira/browse/FLINK-18245
             Project: Flink
          Issue Type: Bug
          Components: API / Core
            Reporter: Jark Wu


Currently, MemorySize and Duration ConfigOption doesn't support to parse {{-1}} or {{-1s}}. That makes us can't to use {{-1}} as a disabled value, and have to use {{0}} which may confuse users at some senarios.

There is some discussion around this topic in :https://github.com/apache/flink/pull/12536#discussion_r438019632



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