You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "jiaan.geng (Jira)" <ji...@apache.org> on 2021/12/11 03:02:00 UTC

[jira] [Commented] (SPARK-27974) Add built-in Aggregate Function: array_agg

    [ https://issues.apache.org/jira/browse/SPARK-27974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17457522#comment-17457522 ] 

jiaan.geng commented on SPARK-27974:
------------------------------------

I will take a look!

> Add built-in Aggregate Function: array_agg
> ------------------------------------------
>
>                 Key: SPARK-27974
>                 URL: https://issues.apache.org/jira/browse/SPARK-27974
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Yuming Wang
>            Priority: Major
>
> ||Function||Argument Type(s)||Return Type||Partial Mode||Description||
> |{{array_agg(_{{expression}}_)}}|any non-array type|array of the argument type|No|input values, including nulls, concatenated into an array|
> |{{array_agg(_{{expression}}_)}}|any array type|same as argument data type|No|input arrays concatenated into array of one higher dimension (inputs must all have same dimensionality, and cannot be empty or NULL)|
> https://www.postgresql.org/docs/11/functions-aggregate.html
> Other DBs:
> https://docs.teradata.com/reader/kmuOwjp1zEYg98JsB8fu_A/Xffi_w_BZeSoaXg6Fd76Qw



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org