Hello, i am writing one spark application i which i need the index of the maximum element.
My table has one column only and i want the index of the maximum element. MAX(count) 23 32 3 Here is my code the data type of the array is org.apache.spark.sql.Dataframe. Thanks in advance. Also please suggest me to do it in another way. [image: Inline image 1]