[ 
https://issues.apache.org/jira/browse/ARROW-15571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17487143#comment-17487143
 ] 

David Li commented on ARROW-15571:
----------------------------------

Min/max are available as aggregations: 
[https://arrow.apache.org/docs/dev/cpp/compute.html#aggregations] and there are 
also element-wise min/max: 
[https://arrow.apache.org/docs/dev/cpp/compute.html#comparisons]

Square root is indeed not available, though power is: 
[https://arrow.apache.org/docs/dev/cpp/compute.html#arithmetic-functions] 
(presumably, a dedicated sqrt would be faster, though)

> [C++] Add min/max/sqrt scalar kernels to execution engine
> ---------------------------------------------------------
>
>                 Key: ARROW-15571
>                 URL: https://issues.apache.org/jira/browse/ARROW-15571
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Yaron Gvili
>            Priority: Major
>
> The list of execution engine's scalar kernels currently available in 
> `cpp/src/arrow/compute/kernels/scalar_arithmetic.cc` does not cover the 
> common minimum, maximum, and square-root functions.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to