mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 19:59:54 -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 ### ChangeLog (Refer [Template](../oss/CHANGELOG.md)) ### Description Support new syntax of $getField ---- #### AI description (iteration 1) #### PR Classification New feature #### PR Summary This pull request adds support for the extended `$getField` operator for version 8.0. - Added new test file `postgresjs/expression_get_field_80_custom.js` to validate `$getField` operator behavior. - Updated `bson_expression_object_operators.c` to handle new error codes and validation for `$getField`. - Modified `bson_aggregation_object_operators_tests.sql` and related expected output files to include new test cases for `$getField`. - Added new error code mappings in `documentdb_errors.csv` and `error_mappings.csv`. - Updated `documentdb_codes.txt` and `mongo_codes.csv` to include new error codes. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->