Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-5582

AutoCommit in jdbc is missing get_autocommit

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.10.0
    • Fix Version/s: 1.10.7
    • Component/s: database, hooks
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                blindlf Scott Liu
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: