Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxiaojian committed Oct 9, 2024
1 parent 7e43ff5 commit 80d5e0d
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import org.apache.paimon.schema.Schema;
import org.apache.paimon.schema.SchemaChange;
import org.apache.paimon.table.Table;
import org.apache.paimon.utils.BranchManager;

import java.io.Serializable;
import java.util.Arrays;
Expand Down Expand Up @@ -270,7 +271,12 @@ default void invalidateTable(Identifier identifier) {}
* @throws TableNotExistException if the table does not exist
* @throws PartitionNotExistException if the partition does not exist
*/
void dropPartition(Identifier identifier, Map<String, String> partitions)
default void dropPartition(Identifier identifier, Map<String, String> partitions)
throws TableNotExistException, PartitionNotExistException {
dropPartition(identifier, partitions, BranchManager.DEFAULT_MAIN_BRANCH);
}

void dropPartition(Identifier identifier, Map<String, String> partitions, String branch)
throws TableNotExistException, PartitionNotExistException;

/**
Expand Down

0 comments on commit 80d5e0d

Please sign in to comment.