I have a Dataframe with one column. Each row of that column has an Array of String values:
Values in my Spark 2.2 Dataframe
[\"123\", \"abc\", \"2017\
Since Spark 2.4.0, there is a new function element_at($array_column, $index).
element_at($array_column, $index)
See Spark docs