mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 11:49:53 -05:00
Merged PR 1479858: $percentile & $median for $group accumulator
### Does this PR have any customer impact? ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) ### Are you introducing any new config? If yes, do you have tests with and without them being set? ### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md)) ### Description draft ---- #### AI description (iteration 1) #### PR Classification New feature #### PR Summary This pull request introduces new aggregation functions and support for t-digest in the project. - Added `bson_tdigest.c` to implement t-digest helper functions. - Created new SQL aggregate functions in `group_aggregates--1.23-0.sql` and `group_aggregates_support--1.23-0.sql`. - Updated `bson_aggregation_pipeline.c` to handle the new `$percentile` accumulator. - Modified `metadata_cache.c` and `metadata_cache.h` to include OID for the new `BsonPercentileAggregateFunction`. - Updated migration scripts `pg_helio_api--1.22-0--1.23-0.sql` and `pgmongo--1.22-0--1.23-0.sql` to include new SQL files.
This commit is contained in:
1 parent
eed060110b
commit
722ef60784
23 files changed
+2689
-14
No files matched your search
@@ -497,4 +497,9 @@ MongoError,ErrorName
|
||||
6050204,Location6050204
|
||||
6053600,Location6053600
|
||||
6586400,Location6586400
|
||||
7429703,Location7429703
|
||||
7436100,Location7436100
|
||||
7750301,Location7750301
|
||||
7750302,Location7750302
|
||||
7750303,Location7750303
|
||||
8993000,Location8993000
|
||||
|
Reference in new issue
Block a user