You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Nicola Crane (Jira)" <ji...@apache.org> on 2021/10/25 07:24:00 UTC
[jira] [Updated] (ARROW-14457) [R] Add something about
non-vectorised maths to the docs
[ https://issues.apache.org/jira/browse/ARROW-14457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nicola Crane updated ARROW-14457:
---------------------------------
Description:
This difference in behaviour between base R and Arrow should be documented
{code:r}
> c(1*2) * c(3,4)
[1] 6 8
> Array$create(c(1,2)) * Array$create(c(3,4))
Array
<double>
[
3,
8
]
> Array$create(c(1,2)) * c(3,4)
Error: NotImplemented: Function multiply_checked has no kernel matching input types (array[double], scalar[list<item: double>])
/home/nic2/arrow/cpp/src/arrow/compute/function.cc:215 DispatchBest(&inputs)
{code}
was:
This difference in behaviour between base R and Arrow should be documented
{code:r}
> c(1*2) * c(3,4)
[1] 6 8
> Array$create(c(1,2)) * Array$create(c(3,4))
Array
<double>
[
3,
8
]
{code}
> [R] Add something about non-vectorised maths to the docs
> --------------------------------------------------------
>
> Key: ARROW-14457
> URL: https://issues.apache.org/jira/browse/ARROW-14457
> Project: Apache Arrow
> Issue Type: Improvement
> Components: R
> Reporter: Nicola Crane
> Priority: Major
>
> This difference in behaviour between base R and Arrow should be documented
> {code:r}
> > c(1*2) * c(3,4)
> [1] 6 8
> > Array$create(c(1,2)) * Array$create(c(3,4))
> Array
> <double>
> [
> 3,
> 8
> ]
> > Array$create(c(1,2)) * c(3,4)
> Error: NotImplemented: Function multiply_checked has no kernel matching input types (array[double], scalar[list<item: double>])
> /home/nic2/arrow/cpp/src/arrow/compute/function.cc:215 DispatchBest(&inputs)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)