[ https://issues.apache.org/jira/browse/ARROW-15571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17487186#comment-17487186 ]
Rok Mihevc commented on ARROW-15571: ------------------------------------ In pyarrow 7.0.0 that would be something like this? : {code:python} import pyarrow as pa import pyarrow.compute as pc low_threshold = 1 high_threshold = 3 arr = pa.array([1, 2, 3]) pc.min_element_wise(pc.max_element_wise(pc.power(arr, 0.5), low_threshold), high_threshold) {code} > [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)