ALTER TABLE SET TBLPROPERTIES
Adds properties to an Iceberg table and sets their assigned values.
In accordance with Iceberg
specificationsALTER TABLE SET TBLPROPERTIES and
ALTER TABLE UNSET TBLPROPERTIES to set or remove the
write.data.path and write.object-storage.path Iceberg
table properties. If you would like Athena to support a specific open source table
configuration property, send feedback to athena-feedback@amazon.com
Synopsis
ALTER TABLE [db_name.]table_nameSET TBLPROPERTIES ('property_name' = 'property_value' [ , ... ])
Example
ALTER TABLE iceberg_table SET TBLPROPERTIES ( 'format'='parquet', 'write_compression'='snappy', 'optimize_rewrite_delete_file_threshold'='10' )
The following example sets the write.data.path property on an
existing Iceberg table.
ALTER TABLE iceberg_table SET TBLPROPERTIES ( 'write.data.path'='s3://amzn-s3-demo-bucket/your-folder/data' )