spark 分组后字符串拼接
2017-09-29 本文已影响175人
爱忽悠的唐唐在晃悠
select concat_ws(',',collect_set(service_id)) from serviceexp_rawdata_mdn_starid_mapping_info_all group by customer_id limit 10;
select concat_ws(',',collect_set(service_id)) from serviceexp_rawdata_mdn_starid_mapping_info_all group by customer_id limit 10;