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

David Li resolved ARROW-13937.
------------------------------
    Resolution: Fixed

Issue resolved by pull request 11113
[https://github.com/apache/arrow/pull/11113]

> [C++][Compute] Add explicit output values to sign function and fix unary type 
> checks
> ------------------------------------------------------------------------------------
>
>                 Key: ARROW-13937
>                 URL: https://issues.apache.org/jira/browse/ARROW-13937
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Eduardo Ponce
>            Assignee: Eduardo Ponce
>            Priority: Trivial
>              Labels: kernel, pull-request-available
>             Fix For: 6.0.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> The *sign* function implementation for unsigned integers returns the result 
> of a boolean expression because when casted to an integer it corresponds to 
> the expected value (0 or 1). To make the function more clear, we should be 
> explicit with the return values similar to the other *sign* kernels.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to