[ 
https://issues.apache.org/jira/browse/IMPALA-12337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18029834#comment-18029834
 ] 

ASF subversion and git services commented on IMPALA-12337:
----------------------------------------------------------

Commit 141f8b97ffa9d466df15cbfaa4706e267e27e5b4 in impala's branch 
refs/heads/master from Riza Suminto
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=141f8b97f ]

IMPALA-14492: Document delete orphan files for Iceberg table

This patch adds documentation for REMOVE_ORPHAN_FILES query added by
IMPALA-12337.

Change-Id: Ie8de6112bf9ccd879ea3e14d86e67b99e1087c0f
Reviewed-on: http://gerrit.cloudera.org:8080/23532
Reviewed-by: Michael Smith <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Zoltan Borok-Nagy <[email protected]>


> Delete 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
>            Assignee: Riza Suminto
>            Priority: Major
>              Labels: catalog-2024, impala-iceberg
>             Fix For: Impala 5.0.0
>
>
> Removes all files from a table’s data directory that are not linked from 
> metadata files and that are older than the value of older_than 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(older_than =  1431691200) 
> {code}
> See the syntax for expire_snapshot:IMPALA11362



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to