Skip to content

Commit

Permalink
Merge branch 'master' into AMORO-3263
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongqishang authored Oct 16, 2024
2 parents 90095a9 + 8954349 commit d77873b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -666,12 +666,13 @@ private void cancelTasks() {
}

private void loadTaskRuntimes(OptimizingProcess optimizingProcess) {
List<TaskRuntime<RewriteStageTask>> taskRuntimes =
getAs(
OptimizingMapper.class,
mapper ->
mapper.selectTaskRuntimes(tableRuntime.getTableIdentifier().getId(), processId));
try {
List<TaskRuntime<RewriteStageTask>> taskRuntimes =
getAs(
OptimizingMapper.class,
mapper ->
mapper.selectTaskRuntimes(
tableRuntime.getTableIdentifier().getId(), processId));
Map<Integer, RewriteFilesInput> inputs = TaskFilesPersistence.loadTaskInputs(processId);
taskRuntimes.forEach(
taskRuntime -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,6 @@ public void dropDatabase(String database) {

@Override
public AmoroTable<?> loadTable(String database, String table) {
if (!databaseExists(database)) {
throw new NoSuchDatabaseException("Database: " + database + " does not exist.");
}

return formatCatalogAsOrder(
TableFormat.MIXED_HIVE,
TableFormat.MIXED_ICEBERG,
Expand Down

0 comments on commit d77873b

Please sign in to comment.