Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-14626 Simplify accumulators and task metrics
  3. SPARK-15079

Support average/count/sum in LongAccumulator/DoubleAccumulator

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • SQL
    • None

    Description

      We currently have AverageAccumulator as a special accumulator. It would actually be easier if we just support computing average in LongAccumulator and DoubleAccumulator.

      Attachments

        Activity

          People

            rxin Reynold Xin
            rxin Reynold Xin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: