[ 
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)

Reply via email to