lightning: fix logged content of "Sample source data" (#65340)
close pingcap/tidb#65337
This commit is contained in:
@ -783,7 +783,7 @@ outloop:
|
||||
if rowSize > 0 && kvSize > rowSize {
|
||||
resultIndexRatio = float64(kvSize) / float64(rowSize)
|
||||
}
|
||||
logutil.Logger(ctx).Info("Sample source data", zap.String("table", tableMeta.Name), zap.Float64("IndexRatio", tableMeta.IndexRatio), zap.Bool("IsSourceOrder", tableMeta.IsRowOrdered))
|
||||
logutil.Logger(ctx).Info("Sample source data", zap.String("table", tableMeta.Name), zap.Float64("IndexRatio", resultIndexRatio), zap.Bool("IsSourceOrder", isRowOrdered))
|
||||
return resultIndexRatio, isRowOrdered, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user