-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature]: iceberg v2 table orphan file clean trigger #1925
Comments
Thank you for raising this issue. This logic has already been extracted, and there will be a dedicated class responsible for snapshot expiration and orphan file cleaning in the future. Please refer to #1916 |
Would it be more reasonable to trigger it through a web page or some command-line method? Using the table property doesn't seem like a good approach. |
I agree with @baiyangtx. Maybe this feature could be linked to #1357, and using command line tools to explicitly trigger these procedures is a better way. |
I believe that allowing users to manually trigger and set a timer for the trigger button in Table web page is a better choice. |
For the expiring snapshots and cleaning orphan files service, I think there should be two types of triggers:
For the single manual trigger, it is suitable to be completed through a web UI (such as a button) or the command-line(#1357), which has been in our roadmap. The goal of this issue is more focused on improving the periodic automatic trigger, and it doesn't conflict with the feature in #1357. |
How about implement in Spark SQL first, so that we can use it on Terminal SQL ? |
AFAIK, Iceberg has already supported cleaning orphan files by calling spark Procedure, remove_orphan_files . |
@celltobig Can this approach meet your needs? |
This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible. |
This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale' |
Description
I want a iceberg table of orphan file clean , table expire snapshots,
has table property trigger ,not set time trigger
Use case/motivation
Describe the solution
No response
Subtasks
No response
Related issues
No response
Are you willing to submit a PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: