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/29 02:03:00 UTC

[jira] [Closed] (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 closed ARROW-11368.
----------------------------
    Resolution: Won't Do

> [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
>         Attachments: return-scalar.patch
>
>
> 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)