[ 
https://issues.apache.org/jira/browse/AIRFLOW-2581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16507127#comment-16507127
 ] 

ASF subversion and git services commented on AIRFLOW-2581:
----------------------------------------------------------

Commit d642e38ec7eac129739042e77f78b1dae4f2615e in incubator-airflow's branch 
refs/heads/master from roc
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=d642e38 ]

[AIRFLOW-2581] RFLOW-2581] Fix DbApiHook autocommit

DbApiHook.run actually do not commit when I set to
autocommit=True
For example: hook.run(sql,autocommit=True)
This commit fixed this problem.

Closes #3482 from imroc/AIRFLOW-2581


> 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