mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 11:49:53 -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? ### ChangeLog (Refer [Template](../oss/CHANGELOG.md)) ### Description Support advanced locales ---- #### AI description (iteration 1) #### PR Classification New feature #### PR Summary This pull request introduces a collation add-on to enhance locale and collation type handling in the collation module. - `collation.c`: Added support for parsing and handling collation types within locale strings, including replacing underscores with hyphens. - `bson_dollar_ops_collation_tests_runtime.out`: Added new test cases to validate collation functionality with various locales and collation types. - `bson_dollar_ops_collation_tests_runtime.sql`: Updated SQL test scripts to include new collation scenarios and validate query matching with different collation settings. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->