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

[jira] [Resolved] (ARROW-10089) [R] inject base class for Array, ChunkedArray and Scalar

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

Neal Richardson resolved ARROW-10089.
-------------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

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

> [R] inject base class for Array, ChunkedArray and Scalar
> --------------------------------------------------------
>
>                 Key: ARROW-10089
>                 URL: https://issues.apache.org/jira/browse/ARROW-10089
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: R
>            Reporter: Romain Francois
>            Assignee: Neal Richardson
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Related to comment [https://github.com/apache/arrow/pull/8256#discussion_r494402171]
> There's a bunch of these :
> #' @export
> sum.Array <- function(..., na.rm = FALSE) scalar_aggregate("sum", ..., na.rm = na.rm)
> #' @export
> sum.ChunkedArray <- sum.Array
> #' @export
> sum.Scalar <- sum.Array
> and having a empty base class between these and ArrowObject would help, we would only have one function and let S3 do its thing



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