Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
jerry-024 committed Dec 19, 2024
1 parent 711c43c commit 09b4fbe
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@ public static List<LocalOrphanFilesClean> createOrphanFilesCleans(
long olderThanMillis,
SerializableConsumer<Path> fileCleaner,
@Nullable Integer parallelism)
throws Catalog.DatabaseNotExistException, Catalog.TableNotExistException {
throws Catalog.DatabaseNotExistException, Catalog.TableNotExistException,
Catalog.TableNoPermissionException {
List<String> tableNames = Collections.singletonList(tableName);
if (tableName == null || "*".equals(tableName)) {
tableNames = catalog.listTables(databaseName);
Expand Down Expand Up @@ -253,7 +254,8 @@ public static CleanOrphanFilesResult executeDatabaseOrphanFiles(
long olderThanMillis,
SerializableConsumer<Path> fileCleaner,
@Nullable Integer parallelism)
throws Catalog.DatabaseNotExistException, Catalog.TableNotExistException {
throws Catalog.DatabaseNotExistException, Catalog.TableNotExistException,
Catalog.TableNoPermissionException {
List<LocalOrphanFilesClean> tableCleans =
createOrphanFilesCleans(
catalog,
Expand Down

0 comments on commit 09b4fbe

Please sign in to comment.