You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/09/02 18:02:03 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16601423#comment-16601423 ] 

Apache Spark commented on AIRFLOW-2590:
---------------------------------------

User 'yrqls21' has created a pull request for this issue:
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)