[
https://issues.apache.org/jira/browse/AIRFLOW-4093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16800733#comment-16800733
]
ASF subversion and git services commented on AIRFLOW-4093:
----------------------------------------------------------
Commit 5d2c740e2d8e2ebaa7358e839fa03b981d358f88 in airflow's branch
refs/heads/master from Bryan Yang
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=5d2c740 ]
[AIRFLOW-4093] AWSAthenaOperator-Throw exception if job failed/cancelled/reach
max retries (#4919)
> 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
>
> {{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)