Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-10089

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 4.0.0
    • R

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              npr Neal Richardson
              romainfrancois Romain Francois
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m