mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-26 04:09:50 -05:00
### Does this PR have any customer impact? No ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) Refactoring ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) Yes ### Are you introducing any new config? If yes, do you have tests with and without them being set? ### ChangeLog (Refer [Template](../oss/CHANGELOG.md)) ### Description 1) Remove all Citus references from pg_documentdb tests 2) Remove some citus references from documentdb c files (Comments) 3) Remove dead code for bson_out aggregates 4) Remove all References to IsClusterVersionAtLeast less than 0.24 (since those are now deployed) ---- #### AI description (iteration 1) #### PR Classification Code cleanup #### PR Summary This pull request introduces code cleanups and enhancements related to aggregation functions in DocumentDB. - `oss/pg_documentdb/sql/udfs/aggregation/group_aggregates--0.102-0.sql`: Added new aggregation functions for BSON data types, including BSONSUM, BSONAVERAGE, BSONMAX, BSONMIN, BSONFIRST, BSONLAST, BSONFIRSTN, BSONLASTN, BSON_ARRAY_AGG, BSON_OBJECT_AGG, BSON_ADD_TO_SET, BSON_MERGE_OBJECTS, BSONSTDDEVPOP, BSONSTDDEVSAMP, BSONPERCENTILE, and BSONMEDIAN. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->