Files
documentdb/pg_helio_api
Cornelius Boateng 3e68960e3c Merged PR 1461259: [Perf] Objects Aggregation Operators
### 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

$mergeObjects

----
#### AI description  (iteration 1)
#### PR Classification
Performance improvement for object aggregation operators.

#### PR Summary
Refactors and optimizes the handling of `$mergeObjects` aggregation operator to improve performance.
- `src/operators/bson_expression_object_operators.c`: Refactored `HandleDollarMergeObjects` to `ParseDollarMergeObjects` and `HandlePreParsedDollarMergeObjects`, optimizing argument parsing and result processing.
- `include/operators/bson_expression_operators.h`: Updated function declarations to reflect the new parsing and handling methods.
- `src/operators/bson_expression.c`: Updated the operator expressions array to use the new parsing and handling functions for `$mergeObjects`.
2024-09-26 17:53:12 +03:00
..