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 09:26:00 UTC

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

     [ https://issues.apache.org/jira/browse/ARROW-11368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yibo Cai updated ARROW-11368:
-----------------------------
    Description: Mode and quantile kernels support returning multiple values and always return array to hold multiple values. If only one value is required, an array of size 1 is returned. It's better to return a scalar instead in this case.  (was: 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.)

> [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
>            Priority: Major
>
> Mode and quantile kernels support returning multiple values and always return array to hold multiple values. If only one value is required, an array 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)