We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a4ad83 commit 2584daeCopy full SHA for 2584dae
awswrangler/pandas.py
@@ -85,7 +85,7 @@ def read_sql_athena(self, sql, database, s3_output=None):
85
query_response = self._session.athena.wait_query(
86
query_execution_id=query_execution_id)
87
if query_response.get("QueryExecution").get("Status").get(
88
- "State") == "FAILED":
+ "State") in ["FAILED", "CANCELLED"]:
89
reason = (query_response.get("QueryExecution").get("Status").get(
90
"StateChangeReason"))
91
message_error = f"Query error: {reason}"
0 commit comments