From 65854306c83e92b3397b47880f1e758e82686dd3 Mon Sep 17 00:00:00 2001 From: zeminzhou Date: Thu, 21 Sep 2023 14:37:28 +0800 Subject: [PATCH] make lint happy Signed-off-by: zeminzhou --- br/pkg/lightning/mydump/loader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/br/pkg/lightning/mydump/loader.go b/br/pkg/lightning/mydump/loader.go index 92c2160ac72ac..89b0d47326633 100644 --- a/br/pkg/lightning/mydump/loader.go +++ b/br/pkg/lightning/mydump/loader.go @@ -812,7 +812,7 @@ func SampleParquetDataSize(ctx context.Context, fileMeta SourceFileMeta, store s return 0, err } lastRow := parser.LastRow() - rowCount += 1 + rowCount++ rowSize += int64(lastRow.Length) parser.RecycleRow(lastRow) if rowSize > maxSampleParquetDataSize || rowCount > maxSampleParquetRowCount {