Skip to content

Commit

Permalink
Cast into int64.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Jun 22, 2024
1 parent 2d925ee commit e6c7ae2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/debezium/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ func (f Field) ParseValue(value any) (any, error) {
if !ok {
return nil, fmt.Errorf("expected int64 got '%v' with type %T", value, value)
}
// TODO: Returning an int to preserve existing behavior, however we should see if we can return an int64 instead.
return int(value), nil

return value, nil
}

return value, nil
Expand Down

0 comments on commit e6c7ae2

Please sign in to comment.