You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Scott Liu (Jira)" <ji...@apache.org> on 2019/10/02 02:53: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 ]

Scott Liu updated AIRFLOW-5582:
-------------------------------
    Summary: AutoCommit in jdbc is missing get_autocommit  (was: AutoCommit in jdbc is missing get_autocommit.)

> 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
>
> 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)