You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Siddharth Anand (JIRA)" <ji...@apache.org> on 2016/11/15 07:37:58 UTC

[jira] [Resolved] (AIRFLOW-533) DB API hook's insert_rows sets autocommit non-generically

     [ https://issues.apache.org/jira/browse/AIRFLOW-533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siddharth Anand resolved AIRFLOW-533.
-------------------------------------
    Resolution: Fixed

Issue resolved by pull request #1813
[https://github.com/apache/incubator-airflow/pull/1813]

> DB API hook's insert_rows sets autocommit non-generically
> ---------------------------------------------------------
>
>                 Key: AIRFLOW-533
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-533
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: hooks
>            Reporter: Luke Rohde
>            Assignee: Luke Rohde
>
> The DB API hook has different behavior between 
> https://github.com/apache/incubator-airflow/blob/189e6b88742ace8c46e72d59d7662284e34b7a2e/airflow/hooks/dbapi_hook.py#L189
> and
> https://github.com/apache/incubator-airflow/blob/189e6b88742ace8c46e72d59d7662284e34b7a2e/airflow/hooks/dbapi_hook.py#L142
> in how it handles autocommit. The latter seems correct to me, as it delegates to the implementation how to set autocommit.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)