From d75ab214b6f24e57c701613621afb58ea5f5f19f Mon Sep 17 00:00:00 2001 From: Amogh-Bharadwaj Date: Wed, 22 May 2024 18:25:28 +0530 Subject: [PATCH] change to warn --- flow/model/qvalue/avro_converter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow/model/qvalue/avro_converter.go b/flow/model/qvalue/avro_converter.go index de24de5d9d..764fd86759 100644 --- a/flow/model/qvalue/avro_converter.go +++ b/flow/model/qvalue/avro_converter.go @@ -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