Merged PR 1439695: [Feature] $out aggregation stage

### Does this PR have any customer impact?
No
### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc)
Feature
### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes)
No
### Are you introducing any new config? If yes, do you have tests with and without them being set?
No
### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md))

### Description
support for $out aggregation stage in aggregation pipeline

what we not support :
1. On Mult coordinator setup source and target can not be same

----
#### AI description  (iteration 1)
#### PR Classification
New feature

#### PR Summary
This pull request introduces the `$out` aggregation stage to the aggregation pipeline.
- `oss/pg_helio_api/src/aggregation/bson_aggregation_output_pipeline.c`: Added `HandleOut` function to handle the `$out` stage, including parsing, validation, and query mutation for outputting results to a specified collection.

Related work items: #1798580
This commit is contained in:
Parag Jain authored and Murat Tuncer committed 2024-09-12 13:51:02 +03:00
1 parent a511a8c252
commit 7740a1f014
15 files changed
+1246 -22

No files matched your search

+3 -1
View File
@@ -53,6 +53,7 @@ BackgroundOperationInProgressForNamespace,12587,50
Location13026,13026,51
Location13027,13027,52
Location13068,13068,53
Location13111,13111,461
MergeStageNoMatchingDocument,13113,54
DbAlreadyExists,13297,55
Location13548,13548,56
@@ -96,7 +97,8 @@ Location16879,16879,94
Location16880,16880,95
Location16882,16882,96
Location16883,16883,97
DollarOutTempCollectionCantBeCreated,16994,98
Location16990,16990,460
Location16994,16994,98
Location17040,17040,99
Location17041,17041,100
Location17042,17042,101
1 ErrorName MongoError OrdinalPosition
53 Location13026 13026 51
54 Location13027 13027 52
55 Location13068 13068 53
56 Location13111 13111 461
57 MergeStageNoMatchingDocument 13113 54
58 DbAlreadyExists 13297 55
59 Location13548 13548 56
97 Location16880 16880 95
98 Location16882 16882 96
99 Location16883 16883 97
100 DollarOutTempCollectionCantBeCreated Location16990 16994 16990 98 460
101 Location16994 16994 98
102 Location17040 17040 99
103 Location17041 17041 100
104 Location17042 17042 101