airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Georges Kohnen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-1588) Incorrect json parsing when importing integer variable values
Date Mon, 11 Sep 2017 09:39:00 GMT
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)

Mime
View raw message