Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ private static ImmutableList<PersistedRuntimeStats> extractStatsFromPlanMapper(P
List<RelTreeSignature> rSig = e.getAll(RelTreeSignature.class);

if (stat.size() > 1 || sig.size() > 1) {
StringBuffer sb = new StringBuffer();
sb.append(String.format("expected(stat-sig) 1-1, got {}-{} ;", stat.size(), sig.size()));
StringBuilder sb = new StringBuilder();
sb.append(String.format("expected(stat-sig) 1-1, got %d-%d ;", stat.size(), sig.size()));
for (OperatorStats s : stat) {
sb.append(s);
sb.append(";");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14191,7 +14191,7 @@ private void processScheduledQueryPolicies(ScheduledQueryProgressInfo info) thro
execution.setStartTime(now);
execution.setEndTime(now);
execution.setLastUpdateTime(now);
execution.setErrorMessage(String.format("Disabling query after {} consequtive failures", autoDisableCount));
execution.setErrorMessage(String.format("Disabling query after %d consecutive failures", autoDisableCount));
pm.makePersistent(execution);
}
if (skipCount > 0) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public MScheduledExecution() {

@Override
public String toString() {
return String.format("state: %s, scheduledQuery: %s, execId: %d", state, scheduledQuery.getScheduleName(),
return String.format("state: %s, scheduledQuery: %s, execId: %s", state, scheduledQuery.getScheduleName(),
executorQueryId);
}

Expand Down
Loading