airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pfubar.k (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AIRFLOW-766) Skip conn.commit() when in Auto-commit
Date Thu, 19 Jan 2017 05:59:26 GMT

     [ https://issues.apache.org/jira/browse/AIRFLOW-766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pfubar.k updated AIRFLOW-766:
-----------------------------
    Description: 
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.
{code}
NzSQLException: The connection object is in auto-commit mode
{code}
conn.commit() needs to be called only when auto-commit mode is off.

  was:
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.


> 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
>              Labels: easyfix
>             Fix For: Airflow 2.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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.
> {code}
> NzSQLException: The connection object is in auto-commit mode
> {code}
> conn.commit() needs to be called only when auto-commit mode is off.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message