You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/12/17 03:44:01 UTC

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

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

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

Commit fd8e298886a471036e54778af153d9ad6346d35b in airflow's branch refs/heads/v1-10-test from Scott Liu
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=fd8e298 ]

[AIRFLOW-5582] Add get_autocommit to JdbcHook (#6232)

- add tests
- update docs

Co-Authored-By: Felix Uellendall <fe...@users.noreply.github.com>
(cherry picked from commit d03fb28e69958d8667483d4dbe083fa097ec08e7)


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