Skip to content

Commit 45fa58b

Browse files
committed
fix: total ingest num
1 parent fd3890e commit 45fa58b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

worker/worker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func (w *Worker) stepBatchWithCondition(threadNum int, conditionSql string) erro
6060
w.statsRecorder.RecordMetric(AlreadyIngestBytes, AlreadyIngestRows)
6161
stats := w.statsRecorder.Stats(time.Since(startTime))
6262
log.Printf("Globla speed: total ingested %d rows (%f rows/s), %d bytes (%f bytes/s)",
63-
AlreadyIngestRows, stats.RowsPerSecond, AlreadyIngestBytes, stats.BytesPerSecond)
63+
AlreadyIngestRows+1, stats.RowsPerSecond, AlreadyIngestBytes, stats.BytesPerSecond)
6464

6565
if err != nil {
6666
logrus.Errorf("Failed to ingest data between %s into Databend: %v", conditionSql, err)

0 commit comments

Comments
 (0)