You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Aleksandr Sabitov (JIRA)" <ji...@apache.org> on 2019/05/28 08:09:00 UTC

[jira] [Updated] (AIRFLOW-4579) Ability add arbitrary environment variable to connection

     [ https://issues.apache.org/jira/browse/AIRFLOW-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aleksandr Sabitov updated AIRFLOW-4579:
---------------------------------------
    Description: 
Some connections/hooks sometimes need some adjustment of configuration which can be provided via environment variables. In order do not set global environment variables it's better to have option to set them within connection.

Example where it is needed - Oracle connection type where we need to change NLS settings:

{"sid": "ORADB", "dsn": "11.22.33.44", "ENV_VARS":\\{"NLS_LANG":"American_America.UTF8","some_var":"some_value"}

}

  was:
Some connections/hooks sometimes need some adjustment of configuration which can be provided via environment variables. In order do not set global environment variables it' better to have option to have them defined within connection.

Example where it is needed - Oracle connection type where we need to change NLS settings:

{"sid": "ORADB", "dsn": "11.22.33.44", "ENV_VARS":\{"NLS_LANG":"American_America.UTF8","some_var":"some_value"}}


> Ability add arbitrary environment variable to connection
> --------------------------------------------------------
>
>                 Key: AIRFLOW-4579
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4579
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: hooks
>            Reporter: Aleksandr Sabitov
>            Priority: Minor
>              Labels: connection, hooks
>
> Some connections/hooks sometimes need some adjustment of configuration which can be provided via environment variables. In order do not set global environment variables it's better to have option to set them within connection.
> Example where it is needed - Oracle connection type where we need to change NLS settings:
> {"sid": "ORADB", "dsn": "11.22.33.44", "ENV_VARS":\\{"NLS_LANG":"American_America.UTF8","some_var":"some_value"}
> }



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)