Spark : Replace collect()[][]
I am having code as:    new_df=spark.sql("Select col1,col2 from table1 where...
Tags: spark