Skip to content

features: single-shot and paged execution modes for multi-queries#555

Merged
azahnen merged 2 commits into
masterfrom
multi-feature-query-scopes
Jul 10, 2026
Merged

features: single-shot and paged execution modes for multi-queries#555
azahnen merged 2 commits into
masterfrom
multi-feature-query-scopes

Conversation

@cportele

Copy link
Copy Markdown
Contributor

A multi-feature query can run single-shot - one pass per (sub-query, table), with no meta query, no chunking and no key-range window - using a server-side cursor to keep memory bounded; an optional per-sub-query maximum bounds each sub-query. When paged, numberMatched is computed across all sub-queries (the invariant total) while value queries are executed only for the sub-queries needed for the page.

Part of ldproxy/ldproxy#1672.

A multi-feature query can run single-shot - one pass per (sub-query, table), with no meta query, no chunking and no key-range window - using a server-side cursor to keep memory bounded; an optional per-sub-query maximum bounds each sub-query. When paged, numberMatched is computed across all sub-queries (the invariant total) while value queries are executed only for the sub-queries needed for the page.
@cportele cportele requested a review from azahnen as a code owner June 28, 2026 10:41
@azahnen azahnen enabled auto-merge (squash) July 10, 2026 09:46
@azahnen azahnen merged commit b3c25c1 into master Jul 10, 2026
3 checks passed
@azahnen azahnen deleted the multi-feature-query-scopes branch July 10, 2026 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants