zhongjiajie created AIRFLOW-4111:
------------------------------------

             Summary: Auto config airflow_db to database in initdb
                 Key: AIRFLOW-4111
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4111
             Project: Apache Airflow
          Issue Type: Improvement
          Components: db
    Affects Versions: 1.10.2
            Reporter: zhongjiajie
            Assignee: zhongjiajie
             Fix For: 1.10.3


Make `airflow initdb` auto configure `airflow_db` by reading and parsing

alchemy url in `airflow.cfg` section `[core]` param `sql_alchemy_conn`.

 

`airflow_db` work on UI `Data profiling/Ad Hoc Query` and 

`Data profiling/Known Events` but using default constant values

which not user friendly, specially `Data profiling/Known Events`

use conn_id `airflow_db` as example. 

 

And as we know that `airflow_db`, airflow backend database, are

already define in `airflow.cfg` section `[core]` paratemeter

`sql_alchemy_conn` but alchemy url type, this Jira ticket help us

make it real.



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

Reply via email to