Skip to content

[Enhancement] (nereids) Support fore keyword in replace partition statment #36714

@liutang123

Description

@liutang123

Search before asking

  • I had searched in the issues and found no similar issues.

Description

When exec a sql like alter table replace partition (p1) with temporary (tp1);
The data of the normal partition p1 will be dropped immediately.

Solution

By default, move the date of normal partition to recycle bin.
Add the force keyword in the replace partition statement to indicate skipping the recycle bin and deleting directly.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions