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

ASF GitHub Bot commented on FLINK-6638:
---------------------------------------

GitHub user zentol opened a pull request:

    https://github.com/apache/flink/pull/4016

    [FLINK-6638] Allow overriding default for primitive ConfigOption

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zentol/flink 6638overdef

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/4016.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4016
    
----
commit 55d227c7098a8e001dfe6a8691a48a9c4e0b76ca
Author: zentol <[email protected]>
Date:   2017-05-30T07:42:31Z

    [FLINK-6638] Allow overriding default for primitive ConfigOption

----


> 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
>            Assignee: 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)

Reply via email to