I tried and googled but was not able to find the solution.
Merging two array<string> into one array<string> is possible and easy in 2.4.x versions but could not find a way to do it in 2.3.0 version.
Input -
[[one, two, three], [four, five, six]]
Expected Output -
[ one, two, three, four, five, six]
Can anyone explain how this can be achieved in Spark using Java?