[JAVA-3860] Median and Percentile Accumulators Created: 05/May/20  Updated: 21/Jun/23  Resolved: 21/Jun/23

Status: Closed
Project: Java Driver
Component/s: Builders
Affects Version/s: None
Fix Version/s: 4.10.0

Type: New Feature Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Slav Babanin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
is cloned by CSHARP-3222 Median and Percentile Accumulators Backlog
Depends
Issue split
split from DRIVERS-1611 Investigate changes in PM-1835: Appro... Closed
Related
related to JAVA-5025 Add support for percentile and median... Backlog
Server Compat: 7.0
Quarter: FY24Q2
Documentation Changes Summary:

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.



 Comments   
Comment by Githook User [ 21/Jun/23 ]

Author:

{'name': 'Viacheslav', 'email': 'frest0512@gmail.com', 'username': 'vbabanin'}

Message: Add builders for percentile and median accumulators/window functions (#1139)

JAVA-3860
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/c7558f9b4931620573a95c67b67a669d0ecc8a4f

Generated at Thu Feb 08 09:00:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.