Skip to content

Commit

Permalink
change to warn
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj committed May 22, 2024
1 parent 60372cb commit d75ab21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/model/qvalue/avro_converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func TruncateOrLogNumeric(num decimal.Decimal, precision int16, scale int16, tar
return num, errors.New("invalid numeric")
} else if num.Exponent() < -int32(avroScale) {
num = num.Truncate(int32(avroScale))
slog.Info("Truncated NUMERIC value", slog.Any("number", num))
slog.Warn("Truncated NUMERIC value", slog.Any("number", num))
}
}
return num, nil
Expand Down

0 comments on commit d75ab21

Please sign in to comment.