Error with multiMap #4793
-
Hello!
However, I cannot seem to make it work. This is the error message I am getting:
I am not familiar with this error message, and I do not know whether the error is related to the multiMapping or something else. Any help would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think the problem is that .map { row -> [row.id, row.R1, row.R2, row.NP] } |
Beta Was this translation helpful? Give feedback.
I think the problem is that
splitCsv
is passing a map to themultiMap
when it should be a list. You can set header to false or insert a map operator after the splitCsv: