mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 19:59:54 -05:00
### Does this PR have any customer impact? ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) ### Are you introducing any new config? If yes, do you have tests with and without them being set? ### ChangeLog (Refer [Template](../oss/CHANGELOG.md)) ### Description Support collation with `$setEquals`, `$setUnion`, `$setIntersection`, `$setDifference`, `$setIsSubet` in the aggregation pipeline. ---- #### AI description (iteration 1) #### PR Classification New feature #### PR Summary This pull request adds support for collation in set operators. - `collation.c`: Added `HashStringWithCollation` function to hash strings with collation. - `bson_expression_set_operators.c`: Introduced collation handling in set operator states and comparison functions. - `bson_dollar_ops_collation_tests_runtime.sql`: Added tests for `$setEquals` with collation. - `collation.h`: Declared `HashStringWithCollation` function. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->