Skip data mapping for missing fields
This commit is contained in:
parent
6652436852
commit
7ac8479e30
@ -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, ".") {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user