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

Yaron Gvili commented on ARROW-15571:
-------------------------------------

The code seems reasonable for a Python setting, but I'm targeting the C++ 
execution engine (specifically, projection using an expression), and would like 
to get best performance. My guess is scalar operations are faster than 
aggregate ones for scalar use cases of the kind I described. Otherwise, it's 
not clear to me why some operation, such as Add, is implemented as both a 
scalar and an aggregate one.

> [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
>              Labels: kernel, pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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