I want to convert an array to string in hive. I want to collect_set array values to convert to string without [[""]]
.
select actor, collect_set(date) as grpdate from actor_table group by actor;
so that [["2016-07-01", "2016-07-02"]]
would become 2016-07-01, 2016-07-02