mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-26 04:09:50 -05:00
### 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 ### ChangeLog (Refer [Template](../oss/CHANGELOG.md)) ### Description Support collation for comparisons in evaluating `$in` expressions in an aggregation ---- #### AI description (iteration 1) #### PR Classification New feature #### PR Summary This pull request adds collation support for array operators, specifically for `$in` and `$filter`. - `bson_expression_array_operators.c`: Refactored `ProcessDollarIn` to handle collation and updated related functions. - `bson_expression_comparison_operators.c`: Added collation handling in `ParseComparisonOperator`. - Added new test cases in `bson_dollar_ops_collation_tests_runtime.sql` and corresponding expected output files to validate collation support for array operators. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot --> Related work items: #3919345