[
https://issues.apache.org/jira/browse/AIRFLOW-822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kamil Bregula reassigned AIRFLOW-822:
-------------------------------------
Assignee: Fokko Driesprong
> Close the connection before throwing exception in BaseHook
> ----------------------------------------------------------
>
> Key: AIRFLOW-822
> URL: https://issues.apache.org/jira/browse/AIRFLOW-822
> Project: Apache Airflow
> Issue Type: Bug
> Components: hooks
> Reporter: Fokko Driesprong
> Assignee: Fokko Driesprong
> Priority: Major
> Fix For: 1.9.0
>
>
> Hi Guys,
> The basehook contains functionality to retrieve connections from the
> database. If a connection doesn't exists it will throw an exception. This
> exception will be thrown before the connection to the database is closed.
> Therefore the session to the db might stay open.
> Cheers, Fokko
--
This message was sent by Atlassian Jira
(v8.3.4#803005)