Hi,

I've just started with Apache Drill and I'd like to write a custom
aggregate function in order to concatenate array fields.

I have seen that the feature is still in alpha and before trying to make it
work I would like to know if at this stage my custom function is possible.

The main idea is trying to achieve something like this:
a,b
foo, [1,2,3]
foo, [3,5,6]

> select my_custom_fun(b) from table group by a
> foo, [1,2,3,3,5,6]

If it is possible, there are any other available documentation other than
this section[1]?

Thank you,
Andrea

[1] https://drill.apache.org/docs/developing-an-aggregate-function/

Reply via email to