Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-35558

Avoid redundant computation in retrieval of approximate quantiles

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.1.3
    • 3.2.0
    • Spark Core
    • None

    Description

      QuantileSummaries.query() is called repeatedly to obtain the approximate quantiles (e.g., in approximate_percentiles([0, 0.1, 0.5, 0.9])) but performs redundant computation in each invocation and repeated passes over the quantile sketch. These redundant computations can be eliminated by providing a version of query() that accepts the array of percentiles.

      Attachments

        Activity

          People

            Unassigned Unassigned
            npoly Neoklis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified