I have nested string like as shown below. I want to flat map them to produce unique rows in Spark
My dataframe has
A,B,"x,y,z",D
I want to convert it to produce output like
A,B,x,D
A,B,y,D
A,B,z,D
How can I do that.
Basically how can i do flat map and apply any function inside the Dataframe
Thanks