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

Fokko Driesprong resolved AIRFLOW-2581.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

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

> Fix DbApiHook autocommit
> ------------------------
>
>                 Key: AIRFLOW-2581
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2581
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: hooks
>    Affects Versions: 2.0.0, 1.10
>            Reporter: roc chan
>            Assignee: roc chan
>            Priority: Major
>             Fix For: 2.0.0
>
>
> *DbApiHook.run* actually do not commit when I set to *autocommit=True*
> for example: *hook.run(sql,autocommit=True)*
> this bug was introduced from 
> [here|https://github.com/apache/incubator-airflow/pull/3257/commits/3450f526cec894cc7beceeae18f9d54cb2ae7520]
>  , and there is a fix 
> [here|https://github.com/apache/incubator-airflow/pull/3258/commits/bf244701e35e973c6b7ee2ee41e5524ceafeed30]
>  , which didn't fix it at all. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to