You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/04/23 02:08:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16823619#comment-16823619 ] 

ASF GitHub Bot commented on AIRFLOW-922:
----------------------------------------

r39132 commented on pull request #2206: [AIRFLOW-922] Update PrestoHook to enable synchronous execution
URL: https://github.com/apache/airflow/pull/2206
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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)