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

[R] Bind median() and quantile() to exact not approximate median and quantile

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • R
    • None

    Description

      ARROW-13772 binds quantile() to tdigest() which returns approximate quantiles and binds median() to approximate_median() which returns an approximate median. The bindings issue a warning saying that the median/quantile is approximate. Once ARROW-13309 is implemented, modify the binding to call Arrow functions that returns exact quantiles and medians, and remove the warnings.

      We should keep the approximate quantile and median bindings but rename them.

      When doing this, we should also modify the bindings to accept type and interpolation arguments like we do in the quantile.ArrowDatum method: https://github.com/apache/arrow/blob/170a24fc5f9f6f9c7c7d15a716c5995f03204a4b/r/R/compute.R#L156-L187

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              icook Ian Cook
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: