mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-08 11:55:30 -05:00
### Does this PR have any customer impact? Yes ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) Bugfix ### 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 ### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md)) ### Description - Implement READ for some scan types to avoid internal errors - Move feature flag for local shard use to the local shard use feature flag. ---- #### AI description (iteration 1) #### PR Classification Bug fix and feature flag correction. #### PR Summary This pull request addresses an internal error and corrects the usage of a feature flag. - `custom_scan_continuation.c`: Added functions for reading and writing custom scan nodes, replacing unsupported functions. - `rum_custom_join_scan.c`: Added functions for reading and writing custom join scan nodes, replacing unsupported functions. - `api_hook_impl.c`: Corrected feature flag usage from `EnableNativeColocation` to `UseLocalExecutionShardQueries`. - `custom_query_scan.c`: Updated error messages for unsupported node types to be more specific.