You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Pfubar.k (JIRA)" <ji...@apache.org> on 2017/01/19 05:57:26 UTC
[jira] [Created] (AIRFLOW-766) Skip conn.commit() when in
Auto-commit
Pfubar.k created AIRFLOW-766:
--------------------------------
Summary: Skip conn.commit() when in Auto-commit
Key: AIRFLOW-766
URL: https://issues.apache.org/jira/browse/AIRFLOW-766
Project: Apache Airflow
Issue Type: Bug
Components: db
Affects Versions: Airflow 2.0
Environment: Airflow 2.0, IBM Netezza
Reporter: Pfubar.k
Assignee: Pfubar.k
Fix For: Airflow 2.0
Some JDBC Drivers fails when using DbApiHook.run(), DbApiHook.insert_rows().
I'm using IBM Netezza. When auto-commit mode is on I get this error message.
NzSQLException: The connection object is in auto-commit mode
conn.commit() needs to be called only when auto-commit mode is off.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)