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? Yes ### ChangeLog (Refer [Template](../oss/CHANGELOG.md)) ### Description Enable support for running streaming cursors based on the primary key index. Do this optionally behind a feature flag. ---- #### AI description (iteration 1) #### PR Classification New feature #### PR Summary This pull request enables support for primary key-based cursor scans in the system. - Added new test cases in `bson_aggregation_cursor_tests_txn.sql` and `bson_aggregation_cursor_tests_txn.out` to validate primary key cursor scan functionality. - Updated `custom_scan_continuation.c` to handle primary key cursor scans and build primary key index clauses. - Modified `metadata_cache.c` to include functions for retrieving OIDs for integer and BSON B-tree operation families. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
14 lines
459 B
C
14 lines
459 B
C
/*-------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
*
|
|
* include/commands/cursor_common.h
|
|
*
|
|
* Common declarations of Mongo Cursor commands.
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
|
|
extern const StringView CursorContinuationTableName;
|
|
extern const StringView CursorContinuationValue;
|
|
extern const StringView PrimaryKeyShardKey;
|