3
0

Skip data mapping for missing fields

This commit is contained in:
Tomaž Jerman 2020-07-14 12:16:41 +02:00
parent 6652436852
commit 7ac8479e30

View File

@ -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, ".") {