Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyongxiang.alpha committed Jan 24, 2025
1 parent 344d5af commit 3cc466d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
import org.apache.amoro.server.table.blocker.TableBlocker;
import org.apache.amoro.shade.guava32.com.google.common.base.Preconditions;
import org.apache.amoro.shade.guava32.com.google.common.collect.Lists;
import org.apache.amoro.shade.guava32.com.google.common.collect.Maps;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang3.tuple.Pair;
import org.slf4j.Logger;
Expand Down Expand Up @@ -294,6 +295,9 @@ public Pair<List<TableOptimizingInfo>, Integer> queryTableOptimizingInfo(
}

private Map<Long, List<TaskRuntime.TaskQuota>> getQuotaTime(List<Long> tableIds) {
if (tableIds == null || tableIds.isEmpty()) {
return Maps.newHashMap();
}
long calculatingEndTime = System.currentTimeMillis();
long calculatingStartTime = calculatingEndTime - AmoroServiceConstants.QUOTA_LOOK_BACK_TIME;

Expand Down

0 comments on commit 3cc466d

Please sign in to comment.