Eduardo Ponce created ARROW-13824:
-------------------------------------
Summary: [C++][Compute] Make constexpr BooleanToNumber kernel
Key: ARROW-13824
URL: https://issues.apache.org/jira/browse/ARROW-13824
Project: Apache Arrow
Issue Type: Improvement
Components: C++
Reporter: Eduardo Ponce
Assignee: Eduardo Ponce
Fix For: 6.0.0
The *Call* method of the
[BooleanToNumber|https://github.com/apache/arrow/blob/master/cpp/src/arrow/compute/kernels/scalar_cast_numeric.cc#L267]
kernel can be simplified into a one-liner and made *constexpr*.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)