aws.redshift.describe_table_restore_status
Example SQL Queries
SELECT * FROMaws.redshift.describe_table_restore_status;Description
Lists the status of one or more table restore requests made using the RestoreTableFromClusterSnapshot API action. If you don't specify a value for the TableRestoreRequestId parameter, then DescribeTableRestoreStatus returns the status of all table restore requests ordered by the date and time of the request in ascending order. Otherwise DescribeTableRestoreStatus returns the status of the table specified by TableRestoreRequestId.
Table Definition
| Column Name | Column Data Type |
|---|---|
| cluster_identifier Input Column The identifier of the Amazon Redshift cluster that the table is being restored to. | VARCHAR |
| table_restore_request_id Input Column The unique identifier for the table restore request. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| message A description of the status of the table restore request. Status values include SUCCEEDED, FAILED, CANCELED, PENDING, IN_PROGRESS. | VARCHAR |
| new_table_name The name of the table to create as a result of the table restore request. | VARCHAR |
| progress_in_mega_bytes The amount of data restored to the new table so far, in megabytes (MB). | BIGINT |
| request_time The time that the table restore request was made, in Universal Coordinated Time (UTC). | TIMESTAMP_S |
| snapshot_identifier The identifier of the snapshot that the table is being restored from. | VARCHAR |
| source_database_name The name of the source database that contains the table being restored. | VARCHAR |
| source_schema_name The name of the source schema that contains the table being restored. | VARCHAR |
| source_table_name The name of the source table being restored. | VARCHAR |
| status A value that describes the current state of the table restore request. Valid Values: SUCCEEDED, FAILED, CANCELED, PENDING, IN_PROGRESS | VARCHAR |
| target_database_name The name of the database to restore the table to. | VARCHAR |
| target_schema_name The name of the schema to restore the table to. | VARCHAR |
| total_data_in_mega_bytes The total amount of data to restore to the new table, in megabytes (MB). | BIGINT |