我需要使用下面的array_agg函数。(它是postgresql)
test=# select t2.c_no, array_agg(t4.contents) from table2 as t2 inner join table4 as t4 on t2.c_no = t4.c_no group by t2.c_no;
c_no | array_agg
------+--------------------------
2 | {kkac,aa,akkk,kkacd,kka}
12 | {abc}
21 | {kk,kkacaaad}
(3 rows)
但是,我在 Apache Drill 文档中找不到 array_agg 函数。
我需要制作array_agg的自定义功能吗?Apache Drill 是否有针对 array_agg 函数的计划?