mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 19:59:54 -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 - This is the second part of the plumbing for composite indexes. - Add the planner and query integration to push $eq filters in the composite index Still not done: - Correctness of query - inequality and other operators (`$in/$regex/etc`) - Type bracketing - Truncation ---- #### AI description (iteration 1) #### PR Classification New feature #### PR Summary This pull request integrates a planner and adds basic plumbing for composite index operations. - `bson_gin_composite_entrypoint.c`: Added functions for handling composite index paths, parsing bounds, and modifying scan keys. - `bson_composite_index_tests_insert_terms.out`: Added tests to validate composite index functionality and queries. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->