[ https://issues.apache.org/jira/browse/FLINK-33765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17794070#comment-17794070 ]
Martijn Visser commented on FLINK-33765: ---------------------------------------- [~zhenzhongxu] Please take a look at FLINK-21949 - We should support ARRAY_AGG, not COLLECT_LIST (but the idea is the same) > Flink SQL to support COLLECT_LIST > --------------------------------- > > Key: FLINK-33765 > URL: https://issues.apache.org/jira/browse/FLINK-33765 > Project: Flink > Issue Type: Improvement > Components: API / DataSet > Reporter: Zhenzhong Xu > Priority: Major > > Flink SQL currently supports COLLECT, which returns a multiset, however, > given support for casting from multiset to other types (especially > array/list) is *very* limited, see > [here,|https://github.com/apache/flink/blob/master/docs/content/docs/dev/table/types.md#casting] > this is creating lots of headaches for ease of use. > Can we support COLLECT_LIST as a built-in system function? (I believe Spark > supports it) -- This message was sent by Atlassian Jira (v8.20.10#820010)