Skip to content

Commit 04e57f0

Browse files
committed
Changes
1 parent 2894260 commit 04e57f0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

data-loader/cli/src/main/java/com/scalar/db/dataloader/cli/command/dataimport/ConsoleImportProgressListener.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public void onDataChunkStarted(ImportDataChunkStatus status) {
3636
chunkLogs.put(
3737
status.getDataChunkId(),
3838
String.format(
39-
"🔄 Chunk %d: Processing... %,d records so far",
39+
"🔄 Chunk %d: Processing... %d records so far",
4040
status.getDataChunkId(), totalRecords.get()));
4141
}
4242

@@ -50,7 +50,7 @@ public void onDataChunkCompleted(ImportDataChunkStatus status) {
5050
chunkLogs.put(
5151
status.getDataChunkId(),
5252
String.format(
53-
"✓ Chunk %d: %,d records imported (%.1fs), %d records imported successfully, import of %d records failed",
53+
"✓ Chunk %d: %d records imported (%.1fs), %d records imported successfully, import of %d records failed",
5454
status.getDataChunkId(),
5555
status.getTotalRecords(),
5656
elapsed / 1000.0,
@@ -70,7 +70,7 @@ public void onTransactionBatchCompleted(ImportTransactionBatchResult batchResult
7070
chunkFailureLogs.put(
7171
batchResult.getDataChunkId(),
7272
String.format(
73-
"❌ Chunk id: %d, Transaction batch id: %d failed: %,d records could not be imported",
73+
"❌ Chunk id: %d, Transaction batch id: %d failed: %d records could not be imported",
7474
batchResult.getDataChunkId(),
7575
batchResult.getTransactionBatchId(),
7676
batchResult.getRecords().size()));
@@ -105,7 +105,7 @@ private void render() {
105105

106106
builder.append(
107107
String.format(
108-
"\rImporting... %,d records | %.0f rec/s | %s%n",
108+
"\rImporting... %d records | %.0f rec/s | %s%n",
109109
totalRecords.get(), recPerSec, formatElapsed(elapsed)));
110110

111111
chunkLogs.values().stream().sorted().forEach(line -> builder.append(line).append("\n"));
@@ -114,7 +114,7 @@ private void render() {
114114
if (completed) {
115115
builder.append(
116116
String.format(
117-
"%n✅ Import completed: %,d records succeeded, %,d failed%n",
117+
"%n✅ Import completed: %d records succeeded, %d failed%n",
118118
totalSuccess.get(), totalFailures.get()));
119119
}
120120
clearConsole();

0 commit comments

Comments
 (0)