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

Median and Percentile Accumulators

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 4.10.0
    • Affects Version/s: None
    • Component/s: 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?

      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.

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

              Created:
              Updated:
              Resolved: