roc chan created AIRFLOW-2581:
---------------------------------

             Summary: 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


*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