Tente usar isso no lugar de group_concat no Presto :: select a, array_join(array_agg(b), ',') from table group by a