gravitino
gravitino copied to clipboard
[#2434] Improvement: if DropXXX success, return true, if not exists return false
What changes were proposed in this pull request?
When dropping the XXX(Metalake/Catalog/Schema/Table/Fileset/Partition/Topic), if the XXX does not exist, then return false.
Why are the changes needed?
a clear drop behavior of return value and exception thrown.
Fix: #2434
Does this PR introduce any user-facing change?
No
How was this patch tested?
ITs and UTs
@mchades would you please help to review this?
Are the changes in core
module the same as #3100 ?
Are the changes in
core
module the same as #3100 ?
Yes.
Update. Please help to review again when you have time~
Updated. Please help to review again when you have time, thanks!
@mchades Updated. Please help to review again when you have time, thanks!
@charliecheng630 would you please rebase the code?
@charliecheng630 can you please also confirm that if anything should be changed in the client side?
@mchades Rebased & updated. Please help to review again when you have time, thanks!