airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Anand (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AIRFLOW-533) DB API hook's insert_rows sets autocommit non-generically
Date Tue, 15 Nov 2016 07:37:58 GMT

     [ 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)

Mime
View raw message