You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2022/06/12 13:09:00 UTC

[jira] [Created] (ARROW-16819) [C++] arrow::compute::CallFunction needs a batch length for nullary functions

Wes McKinney created ARROW-16819:
------------------------------------

             Summary: [C++] arrow::compute::CallFunction needs a batch length for nullary functions
                 Key: ARROW-16819
                 URL: https://issues.apache.org/jira/browse/ARROW-16819
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
            Reporter: Wes McKinney
            Assignee: Wes McKinney
             Fix For: 9.0.0


This is a design deficiency in {{CallFunction}}. If a function is nullary, the execution machinery has no way to determine the output length from an empty vector of datums. We should change {{CallFunction}} to have variants based on {{ExecBatch}} and {{ExecSpan}} (from ARROW-16755)



--
This message was sent by Atlassian Jira
(v8.20.7#820007)