You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Eduardo Ponce (Jira)" <ji...@apache.org> on 2021/09/04 04:27:00 UTC

[jira] [Closed] (ARROW-13824) [C++][Compute] Make constexpr BooleanToNumber kernel

     [ https://issues.apache.org/jira/browse/ARROW-13824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eduardo Ponce closed ARROW-13824.
---------------------------------
    Resolution: Not A Problem

> [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
>            Priority: Trivial
>              Labels: pull-request-available
>             Fix For: 6.0.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> 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)