Skip to content

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

@tomscut

Description

@tomscut

Search before asking

  • 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?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions