Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 57B20200C79 for ; Fri, 19 May 2017 15:31:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 564D1160BBE; Fri, 19 May 2017 13:31:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9D080160BD1 for ; Fri, 19 May 2017 15:31:09 +0200 (CEST) Received: (qmail 17247 invoked by uid 500); 19 May 2017 13:31:08 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 17150 invoked by uid 99); 19 May 2017 13:31:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 May 2017 13:31:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id ACD60180692 for ; Fri, 19 May 2017 13:31:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id ATuj3apW0zvt for ; Fri, 19 May 2017 13:31:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 61B795FC84 for ; Fri, 19 May 2017 13:31:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C9734E09F4 for ; Fri, 19 May 2017 13:31:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 268E121B59 for ; Fri, 19 May 2017 13:31:04 +0000 (UTC) Date: Fri, 19 May 2017 13:31:04 +0000 (UTC) From: "Chesnay Schepler (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLINK-6638) Allow overriding default value for all types when retrieving ConfigOption MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 19 May 2017 13:31:10 -0000 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 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)