mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
Add RestoreTableFromClusterSnapshot and DescribeTableRestoreStatus for provisioned clusters, and RestoreTableFromSnapshot, GetTableRestoreStatus and ListTableRestoreStatus for Redshift Serverless. The table's CREATE TABLE statement and rows are lifted out of the snapshot dump, renamed, and replayed in one transaction. The restore runs inside the request, so a described request is already SUCCEEDED or FAILED. The name checks, script, pending copy, replay and status of a table restore live once in RedshiftTableRestorer, and both services keep only their lookups and storage. ListTableRestoreStatus answers a bad nextToken with InvalidPaginationException. A Docker backed integration test writes rows, snapshots, restores under a new name and reads them back, connecting through RedshiftConnections, and the Redshift compatibility tests share one TestFixtures.awaitRedshiftConnection. Closes #7806