Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-artie committed Apr 6, 2024
1 parent dafd13f commit 741a302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cdc/util/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func parseField(field debezium.Field, value any) (any, error) {
case debezium.KafkaDecimalType:
bytes, err := debezium.ToBytes(value)
if err != nil {
return nil, nil
return nil, err
}
return field.DecodeDecimal(bytes)
case debezium.KafkaVariableNumericType:
Expand Down

0 comments on commit 741a302

Please sign in to comment.