You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Athena::Types::QueryExecutionStatus

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

The completion date, current state, submission time, and state change reason (if applicable) for the query execution.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#completion_date_timeTime

The date and time that the query completed.

Returns:

  • (Time)

    The date and time that the query completed.

#stateString

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.

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.

Possible values:

  • QUEUED
  • RUNNING
  • SUCCEEDED
  • FAILED
  • CANCELLED

Returns:

  • (String)

    The state of query execution.

#state_change_reasonString

Further detail about the status of the query.

Returns:

  • (String)

    Further detail about the status of the query.

#submission_date_timeTime

The date and time that the query was submitted.

Returns:

  • (Time)

    The date and time that the query was submitted.