Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JingsongLi committed Jul 29, 2024
1 parent 254c881 commit bc7f6b1
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ public DelegateCatalog(Catalog wrapped) {
this.wrapped = wrapped;
}

public Catalog wrapped() {
return wrapped;
}

@Override
public boolean caseSensitive() {
return wrapped.caseSensitive();
Expand Down Expand Up @@ -136,6 +140,21 @@ public void dropPartition(Identifier identifier, Map<String, String> partitions)
wrapped.dropPartition(identifier, partitions);
}

@Override
public void repairCatalog() {
wrapped.repairCatalog();
}

@Override
public void repairDatabase(String databaseName) {
wrapped.repairDatabase(databaseName);
}

@Override
public void repairTable(Identifier identifier) throws TableNotExistException {
wrapped.repairTable(identifier);
}

@Override
public void close() throws Exception {
wrapped.close();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ public PrivilegedCatalog(Catalog wrapped, PrivilegeManager privilegeManager) {
this.privilegeManager = privilegeManager;
}

public Catalog wrapped() {
return wrapped;
}

public PrivilegeManager privilegeManager() {
return privilegeManager;
}
Expand Down

0 comments on commit bc7f6b1

Please sign in to comment.