doris
doris copied to clipboard
[Enhancement] (recycle bin) Support delete catalog recycle bin
Proposed changes
Issue Number: close #31348
Add a new command to support delete db/table/partition in catalog recycle bin instantly.
For example:
- Delete the database by id:
DROP CATALOG RECYCLE BIN WHERE 'DbId' = db_id;
- Delete the table by id:
DROP CATALOG RECYCLE BIN WHERE 'TableId' = table_id;
- Delete the partition by id:
DROP CATALOG RECYCLE BIN WHERE 'PartitionId' = partition_id;
Further comments
If this is a relatively large or complex change, kick off the discussion at [email protected] by explaining why you chose the solution you did and what alternatives you considered, etc...