Skip to content

Error with multiMap #4793

Answered by bentsherman
hkaspersen asked this question in Q&A
Mar 5, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

I think the problem is that splitCsv is passing a map to the multiMap when it should be a list. You can set header to false or insert a map operator after the splitCsv:

.map { row -> [row.id, row.R1, row.R2, row.NP] }

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hkaspersen
Comment options

Answer selected by hkaspersen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants