You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2021/07/08 18:24:00 UTC
[jira] [Commented] (ARROW-13289) [C++] Log functions don't have int
kernels
[ https://issues.apache.org/jira/browse/ARROW-13289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17377553#comment-17377553 ]
David Li commented on ARROW-13289:
----------------------------------
Ah, sorry, during the review for either trig or log functions it was questioned whether having integer variants was useful, so I removed them. Maybe I can have it auto-promote integer arguments to floating point ones?
> [C++] Log functions don't have int kernels
> ------------------------------------------
>
> Key: ARROW-13289
> URL: https://issues.apache.org/jira/browse/ARROW-13289
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Nic Crane
> Priority: Major
>
> I've been writing R bindings for the log functions implemented in this PR: [https://github.com/apache/arrow/pull/10567]
> They work when the inputs are floats, but when the input is an int32 I get the following error:
> {code:java}
> NotImplemented: Function ln_checked has no kernel matching input types (scalar[int32]){code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)