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

[jira] [Updated] (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 ]

ASF GitHub Bot updated ARROW-10089:
-----------------------------------
    Labels: pull-request-available  (was: )

> [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
>          Time Spent: 10m
>  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)