[
https://issues.apache.org/jira/browse/AIRFLOW-5582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16998063#comment-16998063
]
ASF subversion and git services commented on AIRFLOW-5582:
----------------------------------------------------------
Commit eccef9d68382c5c8493ef24bf12434c1758cd0bf in airflow's branch
refs/heads/v1-10-test from Scott Liu
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=eccef9d ]
[AIRFLOW-5582] Add get_autocommit to JdbcHook (#6232)
- add tests
- update docs
Co-Authored-By: Felix Uellendall <[email protected]>
(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)