You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Patrick McKenna (JIRA)" <ji...@apache.org> on 2017/02/27 23:08:45 UTC

[jira] [Updated] (AIRFLOW-922) Can't use PrestoHook to run a task synchronously

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

Patrick McKenna updated AIRFLOW-922:
------------------------------------
    Summary: Can't use PrestoHook to run a task synchronously  (was: PrestoHook returns without)

> Can't use PrestoHook to run a task synchronously
> ------------------------------------------------
>
>                 Key: AIRFLOW-922
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-922
>             Project: Apache Airflow
>          Issue Type: Improvement
>            Reporter: Patrick McKenna
>            Priority: Minor
>
> PrestoHook does not check on the execution status of the statement passed to its run method. Enabling it to do so will allow PrestoHook to be used by Operators derived from BaseOperator, which "should perform or trigger certain tasks synchronously (wait for completion)" according to the docs ( https://pythonhosted.org/airflow/code.html#baseoperator).
> I plan on opening a PR to address this in the near future, unless this is not desired functionality?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)