Weston Pace created ARROW-17239: ----------------------------------- Summary: [C++] Calculate output type from aggregate to convert arrow aggregate to substrait Key: ARROW-17239 URL: https://issues.apache.org/jira/browse/ARROW-17239 Project: Apache Arrow Issue Type: Improvement Components: C++ Reporter: Weston Pace Fix For: 10.0.0
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. -- This message was sent by Atlassian Jira (v8.20.10#820010)