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) Perf ### 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? Yes (Feature flag for scan perf) ### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md)) ### Description Enables joining across multiple RUM indexes for bitmap scans (so that the user doesn't need to create a single composite index for performance). ---- #### AI description (iteration 1) #### PR Classification Performance improvement #### PR Summary This pull request introduces optimized cross RUM index joins to enhance query performance. - Added `rum_custom_join_scan.c` to implement custom scan logic for RUM index joins. - Updated `rumget.c` to include `multiandgetbitmap` function for handling multiple index scans. - Modified `custom_scan_continuation.c` to integrate custom scan paths and optimize query plans.