Skip to content

[R] inject base class for Array, ChunkedArray and Scalar #26104

@asfimport

Description

@asfimport

Related to comment #8256 (comment)

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

Reporter: Romain Francois / @romainfrancois
Assignee: Neal Richardson / @nealrichardson

PRs and other links:

Note: This issue was originally created as ARROW-10089. Please see the migration documentation for further details.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions