add support for DISTINCT ARRAY_AGG