How to convert json array<String> to csv in spark sql
问题 I have tried this query to get required experience from linkedin data. Dataset<Row> filteredData = spark .sql("select full_name ,experience from (select *, explode(experience['title']) exp from tempTable )" + " a where lower(exp) like '%developer%'"); But I got this error: and finally I tried but I got more rows with the same name . Dataset<Row> filteredData = spark .sql("select full_name ,explode(experience) from (select *, explode(experience['title']) exp from tempTable )" + " a where lower