Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-17239

[C++] Calculate output type from aggregate to convert arrow aggregate to substrait

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 11.0.0
    • C++

    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.

      Attachments

        Activity

          People

            vibhatha Vibhatha Lakmal Abeykoon
            westonpace Weston Pace
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: