Bryan Yang created AIRFLOW-4093:
-----------------------------------
Summary: 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
{{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)