[Feature] Delete old schema file
- Dominant language
- Java
- Stars
- 3.4k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 396
Description
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/paimon/issues) and found nothing similar.
### Motivation
Now, paimon cannot delete schema files, even old schema version file is not related to any snapshot.
It is not friendly for our situation that we will set a time attribute fields in table property to let other server know data synchronization progress. This will make each property update operation trigger a new paimon schema file.


### Solution
I find a issue desribed same problem https://github.com/apache/paimon/pull/2662.
This issue suggest use procedure to manual delete schema files. But I don't see any process.
### Anything else?
_No response_
### Are you willing to submit a PR?
- [X] I'm willing to submit a PR!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the schema-file handling discussed in pull request #2662 and trace how schema versions are associated with snapshots. Determine the intended deletion workflow for schema files no longer referenced by snapshots, then add coverage for the selected behavior and verify that unrelated schema versions remain safe.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100