Baike Xia created IMPALA-12337:
----------------------------------
Summary: Remove orphan files for Iceberg table
Key: IMPALA-12337
URL: https://issues.apache.org/jira/browse/IMPALA-12337
Project: IMPALA
Issue Type: New Feature
Components: Catalog, Frontend
Reporter: Baike Xia
Removes all files from a table’s data directory that are not linked from
metadata files and that are older than the value of {{retention_threshold}}
parameter. Deleting orphan files from time to time is recommended to keep size
of a table’s data directory under control.
{code:java}
ALTER TABLE test_table EXECUTE remove_orphan_files(retention_threshold => '7d')
{code}
See the syntax for
expire_snapshot:[IMPALA11362|https://issues.apache.org/jira/browse/IMPALA-11362]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)