Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxiaojian committed May 31, 2024
1 parent 41df78a commit 507c5fc
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,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.Collections;
Expand Down Expand Up @@ -234,7 +235,12 @@ void alterTable(Identifier identifier, List<SchemaChange> changes, boolean ignor
* @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 507c5fc

Please sign in to comment.