You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kengo Seki (JIRA)" <ji...@apache.org> on 2018/03/21 08:34:00 UTC

[jira] [Created] (AIRFLOW-2234) Enable insert_rows for PrestoHook

Kengo Seki created AIRFLOW-2234:
-----------------------------------

             Summary: Enable insert_rows for PrestoHook
                 Key: AIRFLOW-2234
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2234
             Project: Apache Airflow
          Issue Type: Improvement
          Components: hooks
            Reporter: Kengo Seki
            Assignee: Kengo Seki


PrestoHook.insert_rows() raises NotImplementedError for now.
But [Presto 0.126+ allows specifying column names in INSERT queries|https://prestodb.io/docs/current/release/release-0.126.html], so we can leverage DbApiHook.insert_rows() almost as is.
I think there is no reason to keep it disabled.




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