airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Rohde (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AIRFLOW-533) DB API hook's insert_rows sets autocommit non-generically
Date Thu, 29 Sep 2016 12:16:20 GMT

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

Luke Rohde updated AIRFLOW-533:
-------------------------------
    Summary: DB API hook's insert_rows sets autocommit non-generically  (was: DB API hook's
insert rows sets autocommit non-generically)

> DB API hook's insert_rows sets autocommit non-generically
> ---------------------------------------------------------
>
>                 Key: AIRFLOW-533
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-533
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: hooks
>            Reporter: Luke Rohde
>            Assignee: Luke Rohde
>
> The DB API hook has different behavior between 
> https://github.com/apache/incubator-airflow/blob/189e6b88742ace8c46e72d59d7662284e34b7a2e/airflow/hooks/dbapi_hook.py#L189
> and
> https://github.com/apache/incubator-airflow/blob/189e6b88742ace8c46e72d59d7662284e34b7a2e/airflow/hooks/dbapi_hook.py#L142
> in how it handles autocommit. The latter seems correct to me, as it delegates to the
implementation how to set autocommit.



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

Mime
View raw message