Skip to content

Commit

Permalink
up format for checkstyle pass
Browse files Browse the repository at this point in the history
  • Loading branch information
gang3.yang committed Nov 19, 2024
1 parent d5109b2 commit 828ee57
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ private TableSchema getDataTableSchema(Identifier identifier, Table table)
}

return tableSchemaInFileSystem(
getTableLocation(identifier, table), identifier.getBranchNameOrDefault())
getTableLocation(identifier, table), identifier.getBranchNameOrDefault())
.orElseThrow(() -> new TableNotExistException(identifier));
}

Expand Down Expand Up @@ -989,9 +989,9 @@ public Table getHmsTable(Identifier identifier) throws TableNotExistException {
private boolean isPaimonTable(Identifier identifier, Table table) {
return isPaimonTable(table)
&& tableSchemaInFileSystem(
getTableLocation(identifier, table),
identifier.getBranchNameOrDefault())
.isPresent();
getTableLocation(identifier, table),
identifier.getBranchNameOrDefault())
.isPresent();
}

private static boolean isPaimonTable(Table table) {
Expand Down Expand Up @@ -1348,4 +1348,4 @@ public static HiveConf createHiveConf(CatalogContext context) {
public static String possibleHiveConfPath() {
return System.getenv("HIVE_CONF_DIR");
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ public void testAlterTable() throws Exception {
Table table = hiveCatalog.getHmsTable(identifier);
assertThat(table.getParameters().get("COLUMN_STATS_ACCURATE")).isEqualTo(null);
}
}
}

0 comments on commit 828ee57

Please sign in to comment.