Describe the bug
The array_agg() function (used in queries like SELECT array_agg(DISTINCT col)) is slow due to per-row memory allocation
To Reproduce
Run any flavor of array_agg() like SELECT array_agg(DISTINCT col)
Expected behavior
array_agg() should not make per-row allocation
Additional context
No response
Describe the bug
The
array_agg()function (used in queries likeSELECT array_agg(DISTINCT col)) is slow due to per-row memory allocationTo Reproduce
Run any flavor of
array_agg()likeSELECT array_agg(DISTINCT col)Expected behavior
array_agg()should not make per-row allocationAdditional context
No response