You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Yibo Cai (Jira)" <ji...@apache.org> on 2021/01/25 03:20:00 UTC

[jira] [Created] (ARROW-11368) [C++][Compute] Return scalar if only one mode or quantile is required

Yibo Cai created ARROW-11368:
--------------------------------

             Summary: [C++][Compute] Return scalar if only one mode or quantile is required
                 Key: ARROW-11368
                 URL: https://issues.apache.org/jira/browse/ARROW-11368
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
            Reporter: Yibo Cai
            Assignee: Yibo Cai


Mode and quantile kernels support returning multiple values and always return vector to hold multiple values. If only one value is required, a vector of size 1 is returned. It's better to return a scalar instead in this case.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)