You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WE have map_union_sum but not array_union_sum. I see some users going through hoops to do that. So I feel it'll be good to add that - just elementwise sum of arrays
select array_union_sum(x) from values( array[1,2,3], array[10,5,4,1],array[9,null,5,4])
should give:
array[20, 7,12,5]
The text was updated successfully, but these errors were encountered:
WE have map_union_sum but not array_union_sum. I see some users going through hoops to do that. So I feel it'll be good to add that - just elementwise sum of arrays
select array_union_sum(x) from values( array[1,2,3], array[10,5,4,1],array[9,null,5,4])
should give:
array[20, 7,12,5]
The text was updated successfully, but these errors were encountered: