You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ash Berlin-Taylor (JIRA)" <ji...@apache.org> on 2019/04/18 16:22:00 UTC

[jira] [Updated] (AIRFLOW-4093) Athena job won't be failed even the query is failed

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

Ash Berlin-Taylor updated AIRFLOW-4093:
---------------------------------------
    Fix Version/s:     (was: 2.0.0)
                   1.10.4

> Athena job won't be failed even the query is failed 
> ----------------------------------------------------
>
>                 Key: AIRFLOW-4093
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4093
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: aws
>            Reporter: Bryan Yang
>            Assignee: Bryan Yang
>            Priority: Major
>             Fix For: 1.10.4
>
>
> {{run_query}} function in {{Athena Operator}} just return the final state of the query.  Because {{aws_athena_hook.poll_query_status}} won't raise an exception when get a 'FAILED' or 'CANCELLED' state.
> So if the upstream query failed, the downstream job will keep going.
> I will add some conditions which will result in exception in {{aws_athena_hook.poll_query_status}}. 



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