Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
Description
I am adding support for mapping to/from Arrow aggregates and Substrait aggregates in ARROW-15582. However, the Arrow-Substrait direction is currently blocked because the Substrait plan needs to know the output type of an aggregate and there is no easy way to determine that from the Arrow information we have.
We should be able to get this information from the function registry but the conversion routines do not have access to the function registry that I can tell. I'm not sure if the best solution is to pass the function registry into ToProto or to add the output type to the aggregate in Arrow.