beliefer opened a new pull request #34866: URL: https://github.com/apache/spark/pull/34866
### What changes were proposed in this pull request? This PR used to support ANSI aggregate Function: `array_agg`. The mainstream database supports `array_agg` show below: **Presto** https://prestodb.io/docs/current/functions/aggregate.html **Teradata** https://docs.teradata.com/r/kmuOwjp1zEYg98JsB8fu_A/Xffi_w_BZeSoaXg6Fd76Qw **Snowflake** https://docs.snowflake.com/en/sql-reference/functions/array_agg.html **Oracle** https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/JSON_ARRAYAGG.html#GUID-6D56077D-78DE-4CC0-9498-225DDC42E054 **H2** http://www.h2database.com/html/functions-aggregate.html#array_agg **Postgresql** https://www.postgresql.org/docs/8.4/functions-aggregate.html ### Why are the changes needed? `array_agg` is very useful. ### Does this PR introduce _any_ user-facing change? 'No'. New feature. ### How was this patch tested? New tests. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
