Amazon Redshift 新增適用於 Iceberg 資料表的 ALTER TABLE,以及透過 AWS Glue Data Catalog 掛載進行寫入功能

張貼日期: 2026年5月18日

Amazon Redshift 現在支援透過 AWS Glue Data Catalog (awsdatacatalog) 掛載直接寫入 Apache Iceberg 資料表,並支援使用 ALTER TABLE DDL 陳述式修改 Apache Iceberg 資料表的結構描述、分割方式與屬性。透過自動掛載的 awsdatacatalog 寫入存取功能,您可以將 Amazon Redshift 轉換的資料寫入資料湖,供任何查詢引擎使用,且無需建立外部結構描述;這對於透過 AWS Lake Formation 聯合存取的 Iceberg 資料表特別實用。 支援的 ALTER TABLE 操作包括 ADD/DROP/ALTER 欄位、RENAME COLUMN、使用 SET TABLE PROPERTIES 覆寫預設壓縮類型,以及 ADD/DROP/REPLACE PARTITION FIELD,以便隨著資料量成長調整分割策略。先前,更新 Iceberg 資料表結構時,必須刪除資料表及其資料,增加了資料管道的複雜度與延遲。 由 Redshift 修改的資料表仍與其他 Iceberg 相容引擎保持相容,包括 Amazon EMRAmazon Athena,從而保持跨引擎的互通性。Iceberg 寫入作業支援 AWS Lake Formation 權限。

這些功能適用於提供 Amazon Redshift 的所有 AWS 區域。若要開始使用,請造訪 Amazon Redshift Database Developer Guide 中的參考 Amazon Redshift 中的 Iceberg 資料表更改資料表定義部分。