Search before asking
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?
Code of Conduct
Search before asking
Description
When exec a sql like
alter table replace partition (p1) with temporary (tp1);The data of the normal partition
p1will be dropped immediately.Solution
By default, move the date of normal partition to recycle bin.
Add the force keyword in the
replace partitionstatement to indicate skipping the recycle bin and deleting directly.Are you willing to submit PR?
Code of Conduct