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

[C++] arrow::compute::CallFunction needs a batch length for nullary functions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 9.0.0
    • C++
    • None

    Description

      This is a design deficiency in CallFunction. If a function is nullary (zero input arguments), the execution machinery has no way to determine the output length from an empty vector of datums. We should add CallFunction variants based on ExecBatch and ExecSpan (from ARROW-16755) and figure out how to deal with the split between scalar (where inputs must all be the same length or scalar) and vector functions (whose input arguments can have different length)

      Attachments

        Issue Links

          Activity

            People

              wesm Wes McKinney
              wesm Wes McKinney
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: