mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 11:49:53 -05:00
### Does this PR have any customer impact? ### 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 Enable support for collation with $graphlookup ---- #### AI description (iteration 1) #### PR Classification New feature: Collation support for `$graphLookup` in the engine. #### PR Summary This pull request adds collation support to the `$graphLookup` operator, enabling locale-specific string comparison. - `src/operators/bson_expression.c`: Added logic to handle collation strings in BSON expressions and pass them to relevant functions. - `src/aggregation/bson_aggregation_nested_pipeline.c`: Updated functions to include collation handling in aggregation pipelines. - `src/collation/collation.c`: Fixed typos and improved comments related to locale string handling. Related work items: #3431063