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

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

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

[AIRFLOW-2590] Fix commit in DbApiHook.run() for no-autocommit DB

Closes #3485 from yrqls21/kevin_yang_fix_dbapi


> dbapi hook not committing when conn does not support auto commit
> ----------------------------------------------------------------
>
>                 Key: AIRFLOW-2590
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2590
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Kevin Yang
>            Assignee: Kevin Yang
>            Priority: Major
>
> After this commit, DbApiHook.run() will only commit when the autocommit field 
> is set for the connection. For those don't support autocommit (e.g. 
> sqlite_hook), the connection won't commit the query.
> This is currently breaking CI (tests/core.py:CoreTest.test_check_operators).



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

Reply via email to