Files
documentdb/internal
Duan Pei✨ cbd1780c97 Merged PR 1506905: [Fix] fix memory_check for maxN/minN
### 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

update

----
#### AI description  (iteration 1)
#### PR Classification
Bug fix for memory check in maxN/minN aggregation functions.

#### PR Summary
This pull request addresses a bug in the memory check for maxN/minN aggregation functions by adding size validation and handling large element sizes.
- `bson_aggregates.c`: Added size validation for intermediate documents and updated element type handling to support int64.
- `bson_aggregation_pipeline_tests_maxnminn_group.out`: Added tests to verify the 100 MB limit for $maxN and $minN operations.
2024-11-19 17:25:36 +08:00
..