how to create a spark dataset of map of list from spark dataset

  Kiến thức lập trình

I have a data set like this

input dataset

I need to make an another dataset of map of list from this dataset based on location
it will like this dataset<String, List>
where key will be values from location column
output map of list

New contributor

Chandeshwar Prasad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT