diff --git a/pkg/ngimporter/map_data.go b/pkg/ngimporter/map_data.go index ce6014166..f2e196e27 100644 --- a/pkg/ngimporter/map_data.go +++ b/pkg/ngimporter/map_data.go @@ -128,7 +128,10 @@ func mapData(is types.ImportSource) ([]types.ImportSource, error) { } } - val := record[hMap[from]] + val := "" + if i, has := hMap[from]; has { + val = record[i] + } // handle data join if strings.Contains(from, ".") {