Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxiaojian committed Oct 9, 2024
1 parent 80d5e0d commit 899d9ac
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions paimon-core/src/main/java/org/apache/paimon/catalog/Catalog.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
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 @@ -271,12 +270,7 @@ default void invalidateTable(Identifier identifier) {}
* @throws TableNotExistException if the table does not exist
* @throws PartitionNotExistException if the partition does not exist
*/
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)
void dropPartition(Identifier identifier, Map<String, String> partitions)
throws TableNotExistException, PartitionNotExistException;

/**
Expand Down Expand Up @@ -533,4 +527,4 @@ public String column() {
interface Loader extends Serializable {
Catalog load();
}
}
}

0 comments on commit 899d9ac

Please sign in to comment.