0

Thanks to a previous answer, I managed from this input :

enter image description here

To get the accumulator output.

enter image description here

Now I am trying to get the following:

enter image description here

What would be the best way to get the following table?

Community
  • 1
  • 1
S12000
  • 3,345
  • 12
  • 35
  • 51

1 Answers1

0

The answer was to use the function explode in spark.

S12000
  • 3,345
  • 12
  • 35
  • 51