mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 11:49:53 -05:00
### Does this PR have any customer impact? Yes ### 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 let variables with inlin projection ---- #### AI description (iteration 1) #### PR Classification New feature #### PR Summary This pull request adds support for inline projection in the aggregation pipeline. - Modified `oss/pg_helio_api/src/aggregation/bson_project.c` to handle new function OIDs for inline projection and addFields with let variables. - Updated test files `/oss/internal/pg_helio_distributed/src/test/regress/expected/bson_aggregation_pipeline_tests_let.out` and `/pgmongo/src/test/helio_compat/expected/bson_aggregation_pipeline_tests_let.out` to include new test cases for the inline projection feature. - Added new SQL test cases in `/oss/internal/pg_helio_distributed/src/test/regress/sql/bson_aggregation_pipeline_tests_let.sql` to validate the new functionality.