Skip to content

Commit

Permalink
Default values broken when inserting via kinesis.
Browse files Browse the repository at this point in the history
  • Loading branch information
gamolina committed Aug 12, 2023
1 parent 15b2303 commit c02c773
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,6 @@ func (s *Session) getDefaultValueForColumn(a *Attribute, row interface{}, ignore
var err error
var val interface{}
if val, err = shared.GetPath(source, row, ignoreSourcePath, useNerd); err == nil {
val = r.(map[string]interface{})[source]
rm[v.FieldName] = val
if v.FieldName == a.FieldName {
return fmt.Sprintf("%v", val)
Expand Down

0 comments on commit c02c773

Please sign in to comment.