Skip to content

Commit

Permalink
make lint happy
Browse files Browse the repository at this point in the history
Signed-off-by: zeminzhou <[email protected]>
  • Loading branch information
zeminzhou committed Sep 21, 2023
1 parent 2c9dfca commit 6585430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion br/pkg/lightning/mydump/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6585430

Please sign in to comment.