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

Joris Van den Bossche edited comment on ARROW-11871 at 3/8/21, 4:58 PM:
------------------------------------------------------------------------

To clarify, my comment above was not about {{null}} being regarded as {{0}}. 
But rather the interpretation that {{null}} is seen as "some unknown value". 
And then you _can_ argue that the result is is not unknown for {{power(null, 
0)}}, because {{power(<any value>, 0)}} is always 1, whatever value is passed 
as the first argument.


was (Author: jorisvandenbossche):
To clarify, my comment above was not about {{null}} being regarded as {{0}}. 
But rather the interpretation that {{null}} is seen as "some unknown value". 
And then you _can_ argue that the result is is not unknown for {{power(null, 
0}} because {{power(<any value>, 0)}} is always 1, whatever value is passed as 
the first argument.

> [C++] Add element-wise power() compute function
> -----------------------------------------------
>
>                 Key: ARROW-11871
>                 URL: https://issues.apache.org/jira/browse/ARROW-11871
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>    Affects Versions: 3.0.0
>            Reporter: ARF
>            Priority: Minor
>
> It would be nice to have an element-wise {{power()}} compute function.
> I.e. in analogy to 
> [numpy.power()|https://numpy.org/doc/stable/reference/generated/numpy.power.html].



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

Reply via email to