Kevin Yang created AIRFLOW-2590:
-----------------------------------

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


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