You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Andy Hadjigeorgiou (JIRA)" <ji...@apache.org> on 2017/10/17 18:30:00 UTC

[jira] [Created] (AIRFLOW-1726) Copy Expert command for Postgres Hook

Andy Hadjigeorgiou created AIRFLOW-1726:
-------------------------------------------

             Summary: Copy Expert command for Postgres Hook
                 Key: AIRFLOW-1726
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1726
             Project: Apache Airflow
          Issue Type: Improvement
            Reporter: Andy Hadjigeorgiou
            Assignee: Andy Hadjigeorgiou
            Priority: Minor


The Copy command is useful for postgres users, and it's client-based version "\COPY" can be frustrating to use due to python escape character shenanigans. Fortunately, psycopg2 supports a copy_expert method that simplifies the command and it's options, so I think it would be a useful addition to the PostgresHook.

I'm working on the PR now, will post here when complete.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)