You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Felix Uellendall (Jira)" <ji...@apache.org> on 2019/11/17 09:57:00 UTC

[jira] [Updated] (AIRFLOW-5582) AutoCommit in jdbc is missing get_autocommit

     [ https://issues.apache.org/jira/browse/AIRFLOW-5582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Uellendall updated AIRFLOW-5582:
--------------------------------------
    Fix Version/s: 1.10.7

> AutoCommit in jdbc is missing get_autocommit
> --------------------------------------------
>
>                 Key: AIRFLOW-5582
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5582
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: database, hooks
>    Affects Versions: 1.10.0
>            Reporter: Scott Liu
>            Priority: Major
>             Fix For: 1.10.7
>
>
> Some of JDBC driver does not support autoCommit=false, such as org.apache.hive.jdbc.HiveDrive.
> JdbcHook.set_autocommit update by conn.jconn.setAutoCommit, DbApiHook.get_autocommit retrieve by conn.autocommit.
> After DbApiHook.execute(sql), conn.commit() will throws exception.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)