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(exp) like '%developer%'");
Please give me hint, how to convert array of string to comma separated string in the same column.