

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 在 Iceberg 資料表上執行其他 DDL 操作
<a name="querying-iceberg-additional-operations"></a>

除了 [演進 Iceberg 資料表結構描述](querying-iceberg-evolving-table-schema.md) 中所述的結構描述演變操作之外，您也可以在 Athena 中的 Apache Iceberg 資料表上執行下列 DDL 操作。

## 資料庫層級操作
<a name="querying-iceberg-additional-operations-database-level-operations"></a>

當您搭配使用 [DROP DATABASE](drop-database.md) 與 `CASCADE` 選項時，則任何 Iceberg 資料表資料也會被刪除。以下 DDL 操作對 Iceberg 資料表沒有影響。
+ [CREATE DATABASE](create-database.md)
+ [ALTER DATABASE SET DBPROPERTIES](alter-database-set-dbproperties.md)
+ [SHOW DATABASES](show-databases.md)
+ [SHOW TABLES](show-tables.md)
+ [SHOW VIEWS](show-views.md)

## 分割區相關操作
<a name="querying-iceberg-additional-operations-partition-related-operations"></a>

因為 Iceberg 資料表使用[隱藏的分割](https://iceberg.apache.org/docs/latest/partitioning/#icebergs-hidden-partitioning)，您不必直接使用實體分割區。因此，Athena 中的 Iceberg 資料表不支援以下與分割區相關的 DDL 操作：
+ [SHOW PARTITIONS](show-partitions.md)
+ [ALTER TABLE ADD PARTITION](alter-table-add-partition.md)
+ [ALTER TABLE DROP PARTITION](alter-table-drop-partition.md)
+ [ALTER TABLE RENAME PARTITION](alter-table-rename-partition.md)

如果您希望查看 Athena 中的 Iceberg [分割區演變](https://iceberg.apache.org/docs/latest/evolution/#partition-evolution)，請將意見回饋傳送至 [athena-feedback@amazon.com](mailto:athena-feedback@amazon.com)。

## 卸載 Iceberg 資料表
<a name="querying-iceberg-additional-operations-unload-iceberg-table"></a>

Iceberg 資料表可以卸載至 Amazon S3 上資料夾中的檔案。如需相關資訊，請參閱[UNLOAD](unload.md)。

## MSCK REPAIR
<a name="querying-iceberg-additional-operations-msck-repair"></a>

由於 Iceberg 資料表會追蹤資料表配置資訊，因此不必也不支援像使用 Hive 資料表那樣執行 [MSCK REPAIR TABLE](msck-repair-table.md)。