Spark get first element of array. key: An expression matching the type of ...

Spark get first element of array.  key: An expression matching the type of ...Spark get first element of array.  key: An expression matching the type of ...