You can disable orphan file deletion optimizer for a particular Apache Iceberg table using AWS Glue console or AWS CLI.
To disable orphan file deletion
-
Choose Data Catalog and choose Tables. From the tables list, choose the Iceberg table that you want to disable the optimizer for orphan file deletion.
-
On lower section of the Table details page, choose Table optimization tab.
-
Choose Actions, and then choose Disable , Orphan file deletion.
You can also choose Disable under Optimization from the Actions menu.
-
Choose Disable on the confirmation message. You can re-enable the orphan file deletion optimizer at a later time.
After the you confirm, orphan file deletion optimizer is disabled and the status for orphan file deletion turns back to
Not enabled
.