Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-3860

Median and Percentile Accumulators

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 4.10.0
    • None
    • Builders
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

    Description

      Summary

      Provide the ability to calculate median and percentile of the numeric values in the $group and $setWindowFields stages of the aggregation pipeline.

      Motivation

      Percentile (and median, as its special case) are common statistical metrics. The absence of these accumulators makes MongoDB very unattractive for analytical use cases. Moreover, MongoDB Charts are struggling to provide essential data exploration functionality to their users without these metrics available from the server.

      Attachments

        Activity

          People

            slav.babanin@mongodb.com Slav Babanin
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: