vincbeck commented on code in PR #34553:
URL: https://github.com/apache/airflow/pull/34553#discussion_r1334501712


##########
airflow/providers/amazon/aws/sensors/athena.py:
##########
@@ -78,7 +78,11 @@ def poke(self, context: Context) -> bool:
         state = self.hook.poll_query_status(self.query_execution_id, 
self.max_retries, self.sleep_time)
 
         if state in self.FAILURE_STATES:
-            raise AirflowException("Athena sensor failed")
+            # TODO: remove this if block when min_airflow_version is set to 
higher than 2.7.1

Review Comment:
   Just out of curiosity. Why? Why we no longer need this check from 2.7.1?



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to