pingzh commented on issue #23679: URL: https://github.com/apache/airflow/issues/23679#issuecomment-1126511471
looks like the bug is introduced in this pr https://github.com/apache/airflow/pull/22284/files. my `airflow.cfg` does not have `[database]` section, but i have `sql_alchemy_conn` under `core`. so when the StandardTaskRunner creates the tmp cfg file, `sql_alchemy_conn` is in both `[database]` and `[core]`. the value of `sql_alchemy_conn` in `[database]` is the `sqlite`, while `sql_alchemy_conn` in `[core]` has the my intended value, (mysql). then `sql_alchemy_conn` is get from `[database]`, which is why it is `sqlite` instead of `mysql` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
