Skip to content
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] Delete old schema file #3449

Open
2 tasks done
eric666666 opened this issue May 31, 2024 · 1 comment
Open
2 tasks done

[Feature] Delete old schema file #3449

eric666666 opened this issue May 31, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@eric666666
Copy link
Contributor

Search before asking

  • I searched in the 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.
image
image

Solution

I find a issue desribed same problem #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?

  • I'm willing to submit a PR!
@eric666666 eric666666 added the enhancement New feature or request label May 31, 2024
@tsreaper
Copy link
Contributor

tsreaper commented Jul 20, 2024

Even if a schema file is not the current schema of any snapshots, some data files might still be using this schema version. I see that you're willing to submit a PR, could you share your solution to this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants