apache / doris

Apache Doris is an easy-to-use, high performance and unified analytics database.
https://doris.apache.org
Apache License 2.0
12.35k stars 3.22k forks source link

[Enhancement] (recycle bin) Support recover partition to a new table #31349

Open mymeiyi opened 7 months ago

mymeiyi commented 7 months ago

Search before asking

Description

Whe drop a partition, we only can recover it to the original table. But if the original table schema is changed, the partition can not be recovered. Maybe we can support recover partition to a new table(the table is created use the partition schema), and in this case, users can insert data to the original table by insert into original_table select ... from new_table.

Solution

No response

Are you willing to submit PR?

Code of Conduct

my-vegetable-has-exploded commented 5 months ago

I'd like to have a try.