Thanks to a previous answer, I managed from this input :
To get the accumulator output.
Now I am trying to get the following:
What would be the best way to get the following table?
Thanks to a previous answer, I managed from this input :
To get the accumulator output.
Now I am trying to get the following:
What would be the best way to get the following table?
The answer was to use the function explode in spark.