Skip to content

Commit

Permalink
dropPartition throw exception when table is nul
Browse files Browse the repository at this point in the history
  • Loading branch information
jerry-024 committed Dec 30, 2024
1 parent de4d4ec commit bcc4ef1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,8 @@ public void dropPartition(Identifier identifier, Map<String, String> partitions)
Table table = getTable(identifier);
if (table != null) {
cleanPartitionsInFileSystem(table, partitions);
} else {
throw new TableNotExistException(identifier);
}
}

Expand Down

0 comments on commit bcc4ef1

Please sign in to comment.