You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Georges Kohnen (JIRA)" <ji...@apache.org> on 2017/09/11 09:39:00 UTC

[jira] [Created] (AIRFLOW-1588) Incorrect json parsing when importing integer variable values

Georges Kohnen created AIRFLOW-1588:
---------------------------------------

             Summary: Incorrect json parsing when importing integer variable values
                 Key: AIRFLOW-1588
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1588
             Project: Apache Airflow
          Issue Type: Bug
          Components: configuration
    Affects Versions: 1.8.0
            Reporter: Georges Kohnen


When exporting the airflow variables to a json file, integer variables get exported without a quote, e.g.:
    "dataproc_default_timeout": 60,

However, when importing that same json file again, these values without quotes get ignored, and the variables are not set. When adding quotes around the integer values in the json file, parsing happens correctly, e.g.:
    "dataproc_default_timeout": "60",



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)