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

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

Commit d03fb28e69958d8667483d4dbe083fa097ec08e7 in airflow's branch 
refs/heads/master from Scott Liu
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=d03fb28 ]

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

- add tests
- update docs

Co-Authored-By: Felix Uellendall <felue...@users.noreply.github.com>


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

Reply via email to