Florian Klink created AIRFLOW-2638:
--------------------------------------

             Summary: dbapi_hook: insert_rows: support replace into
                 Key: AIRFLOW-2638
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2638
             Project: Apache Airflow
          Issue Type: New Feature
          Components: db
            Reporter: Florian Klink


Sometimes, you want to use dbapi_hook's insert_rows method, but with "REPLACE 
INTO", as some values might already exist (while iterating over the same data). 
This PR adds a `replace` optional parameter, that changes the query to "REPLACE 
INTO" instead of "INSERT INTO".



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to