QueryExecutionStatus
import type { QueryExecutionStatus } from "https://aws-api.deno.dev/v0.3/services/athena.ts?docs=full";
The completion date, current state, submission time, and state change reason (if applicable) for the query execution.
interface QueryExecutionStatus {
CompletionDateTime?: Date | number | null;
State?: QueryExecutionState | null;
StateChangeReason?: string | null;
SubmissionDateTime?: Date | number | null;
}§Properties
§
State?: QueryExecutionState | null
[src]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.
Note:
Athena automatically retries your queries in cases of certain transient errors.
As a result, you may see the query state transition from RUNNING
or FAILED
to QUEUED
.