Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-3178

`airflow run` config doens't cope with % in config values.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.10.0
    • Fix Version/s: 1.10.1
    • Component/s: None
    • Labels:
      None

      Description

      ConfigParser uses %-signs for interpolation, so if you need a literal % in airflow.cfg it needs to be escaped in by specifying them as %%), but by the time they are written out to the temporary config that is passed to `airflow run` they escaping is lost.

      This is also true for configuration via environment variables, where % doesn't need to be escaped at all, but is included (sometimes needlessly) in the config un-escaped.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ash Ash Berlin-Taylor
                Reporter:
                ash Ash Berlin-Taylor
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: