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

Martijn Visser commented on FLINK-21949:
----------------------------------------

Given that ARRAY_AGG was added in Calcite 1.27 via CALCITE-4335 I hope that 
implementing it should be straightforward, since Flink is on a later version of 
Calcite already. 

[~rolandjohann] Are you still willing to work on this? If so, perhaps [~Sergey 
Nuyanzin] and/or [~twalthr] could provide some guidance. 

> Support collect to array aggregate function
> -------------------------------------------
>
>                 Key: FLINK-21949
>                 URL: https://issues.apache.org/jira/browse/FLINK-21949
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table SQL / API
>    Affects Versions: 1.12.0
>            Reporter: Jiabao Sun
>            Priority: Minor
>
> Some nosql databases like mongodb and elasticsearch support nested data types.
> Aggregating multiple rows into ARRAY<ROW> is a common requirement.
> The CollectToArray function is similar to Collect, except that it returns 
> ARRAY<ROW> instead of MULTISET<ROW>.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to