Details
-
Wish
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.10.0
-
None
-
None
Description
I'm trying to implement the equivalent of Postgres' array_agg() as a UDF in Drill. Unless I'm missing something, this doesn't seem to be possible. As per the documentation:
Do not use complex @Workspace variables.
You cannot allocate a Repeated* value or have a ComplexWriter in the @Workspace.
With that restriction, it's not possible to keep the intermediate value of the resulting array during computation of the aggregation.