You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/09/02 18:02:03 UTC
[jira] [Commented] (AIRFLOW-2581) Fix DbApiHook autocommit
[ https://issues.apache.org/jira/browse/AIRFLOW-2581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16601422#comment-16601422 ]
Apache Spark commented on AIRFLOW-2581:
---------------------------------------
User 'imroc' has created a pull request for this issue:
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)