Hi team, we are trying to do aggregation on a string field, e.g select name, max(url) from table group by name. But resulting numformatting exception. Is there any other way we can get one aggregated string value from a group? Thanks
m
Mayank
08/20/2021, 1:51 PM
How about distinct + order by?
c
Carl
08/20/2021, 1:56 PM
Yes we tried that, but the problem is one name can map to multiple url, so it would return multiple rows for each distinct name. We were hoping to get just one url from the group by name.
m
Mayank
08/20/2021, 3:35 PM
@Jackie we should be able to allow applicable aggr functions (max,min) on String columns?