From c02c77301a4035a29709b9fd0893b361832374f8 Mon Sep 17 00:00:00 2001 From: "GUY.MOLINARI" Date: Sat, 12 Aug 2023 17:32:47 +0000 Subject: [PATCH] Default values broken when inserting via kinesis. --- core/session.go | 1 - 1 file changed, 1 deletion(-) diff --git a/core/session.go b/core/session.go index 13628cb..7727b71 100644 --- a/core/session.go +++ b/core/session.go @@ -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)