[ 
https://issues.apache.org/jira/browse/AIRFLOW-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16601581#comment-16601581
 ] 

Apache Spark commented on AIRFLOW-922:
--------------------------------------

User 'patrickmckenna' has created a pull request for this issue:
https://github.com/apache/incubator-airflow/pull/2206

> 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
(v7.6.3#76005)

Reply via email to