You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kaxil Naik (JIRA)" <ji...@apache.org> on 2019/08/07 16:25:04 UTC
[jira] [Updated] (AIRFLOW-3886) Add bulk insert feature to db
hooks.
[ https://issues.apache.org/jira/browse/AIRFLOW-3886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kaxil Naik updated AIRFLOW-3886:
--------------------------------
Fix Version/s: (was: 1.10.4)
2.0.0
> Add bulk insert feature to db hooks.
> ------------------------------------
>
> Key: AIRFLOW-3886
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3886
> Project: Apache Airflow
> Issue Type: Improvement
> Components: hooks
> Reporter: Srinivasa Garlapati
> Assignee: Srinivasa Garlapati
> Priority: Minor
> Fix For: 2.0.0
>
>
> Airflow's dbapi_hook doesn't support inserting multiple rows at a time, it's tedious inserting one row at a time.
> Right now airflow supports single inserts as below.
> *INSERT INTO tbl_name (a,b,c) VALUES (1,2,3)*
> It'll be really faster if multiple inserts joined together.
> *{{INSERT INTO tbl_name (a,b,c) VALUES (1,2,3), (4,5,6), (7,8,9);}}*
>
>
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)