QueryExecutionStatus
¶
Source code in docs_src/capo_athena/types/query_execution_status.py
athena_error
instance-attribute
¶
athena_error: NotRequired[AthenaError]
Provides information about an Athena query error.
completion_date_time
instance-attribute
¶
completion_date_time: NotRequired[Date]
The date and time that the query completed.
state
instance-attribute
¶
state: NotRequired[QueryExecutionState]
The state of query execution. QUEUED indicates that the query has been submitted to the service, and Athena will execute the query as soon as resources are available. RUNNING indicates that the query is in execution phase. SUCCEEDED indicates that the query completed without errors. FAILED indicates that the query experienced an error and did not complete processing. CANCELLED indicates that a user input interrupted query execution.
For queries that experience certain transient errors, the state transitions from RUNNING back to QUEUED. The FAILED state is always terminal with no automatic retry.