QueryExecutionStatus
The completion date, current state, submission time, and state change reason (if applicable) for the query execution.
Contents
- AthenaError
-
Provides information about an Athena query error.
Type: AthenaError object
Required: No
- CompletionDateTime
-
The date and time that the query completed.
Type: Timestamp
Required: No
- State
-
The state of query execution.
QUEUEDindicates that the query has been submitted to the service, and Athena will execute the query as soon as resources are available.RUNNINGindicates that the query is in execution phase.SUCCEEDEDindicates that the query completed without errors.FAILEDindicates that the query experienced an error and did not complete processing.CANCELLEDindicates that a user input interrupted query execution.Note
For queries that experience certain transient errors, the state transitions from
RUNNINGback toQUEUED. TheFAILEDstate is always terminal with no automatic retry.Type: String
Valid Values:
QUEUED | RUNNING | SUCCEEDED | FAILED | CANCELLEDRequired: No
- StateChangeReason
-
Further detail about the status of the query.
Type: String
Required: No
- SubmissionDateTime
-
The date and time that the query was submitted.
Type: Timestamp
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: