Sorry i was trying to say that
val keys = fltr.map(_.split(",")).map(a => a(5))
this
a => a(0-1-2-3))
with this parameters collect work and takes the right column. With 4 or more it don’t work. I think it’s a parsing problem of the text.
Sorry i was trying to say that
val keys = fltr.map(_.split(",")).map(a => a(5))
this
a => a(0-1-2-3))
with this parameters collect work and takes the right column. With 4 or more it don’t work. I think it’s a parsing problem of the text.