You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kaxil Naik (JIRA)" <ji...@apache.org> on 2018/06/12 00:27:00 UTC
[jira] [Resolved] (AIRFLOW-2590) dbapi hook not committing when
conn does not support auto commit
[ https://issues.apache.org/jira/browse/AIRFLOW-2590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kaxil Naik resolved AIRFLOW-2590.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
Issue resolved by pull request #3485
[https://github.com/apache/incubator-airflow/pull/3485]
> dbapi hook not committing when conn does not support auto commit
> ----------------------------------------------------------------
>
> Key: AIRFLOW-2590
> URL: https://issues.apache.org/jira/browse/AIRFLOW-2590
> Project: Apache Airflow
> Issue Type: Bug
> Reporter: Kevin Yang
> Assignee: Kevin Yang
> Priority: Major
> Fix For: 2.0.0
>
>
> After this commit, DbApiHook.run() will only commit when the autocommit field is set for the connection. For those don't support autocommit (e.g. sqlite_hook), the connection won't commit the query.
> This is currently breaking CI (tests/core.py:CoreTest.test_check_operators).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)