flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chesnay Schepler (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-6638) Allow overriding default value for all types when retrieving ConfigOption
Date Fri, 19 May 2017 13:31:04 GMT
Chesnay Schepler created FLINK-6638:
---------------------------------------

             Summary: Allow overriding default value for all types when retrieving ConfigOption
                 Key: FLINK-6638
                 URL: https://issues.apache.org/jira/browse/FLINK-6638
             Project: Flink
          Issue Type: Improvement
          Components: Configuration
            Reporter: Chesnay Schepler


Currently there exists no equivalent to {{Configuration#getString(ConfigOption<String>
configOption, String overrideDefault)}} for types such as {{Integer}} or {{Boolean}}.

If you want to use a non-String {{ConfigOption}} you either have to resort to hacks, like
taking the key and going through the non-ConfigOption path or comparing the result with the
default value of the option.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message