paimon icon indicating copy to clipboard operation
paimon copied to clipboard

[Improvement] When dropping table, data should be moved to trash instead of being deleted directly

Open tomscut opened this issue 2 months ago • 0 comments

Search before asking

  • [x] I searched in the issues and found nothing similar.

Motivation

In Paimon, when dropping table, the data is directly removed. We can implement a feature where data is first moved to trash, making it easier to recover accidentally deleted data.

Solution

Provides a method called moveToTrash that is called when data is cleaned up to move data to the trash.

Anything else?

No response

Are you willing to submit a PR?

  • [x] I'm willing to submit a PR!

tomscut avatar Nov 03 '25 04:11 tomscut