Skip to content

Commit

Permalink
Space
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-artie committed Apr 8, 2024
1 parent b32f202 commit 35ecd7b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/debezium/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ func (f Field) ParseValue(value any) (any, error) {
// aren't doing float -> string -> float.
slog.Error(fmt.Sprintf("Expected float64 received %T with value '%v'", value, value))
}

// Need to cast this as a FLOAT first because the number may come out in scientific notation
// ParseFloat is apt to handle it, and ParseInt is not, see: https://github.com/golang/go/issues/19288
floatVal, castErr := strconv.ParseFloat(fmt.Sprint(value), 64)
Expand Down

0 comments on commit 35ecd7b

Please sign in to comment.