Skip to content

fix paged SQL feature queries with an id list returning all matches on every page - #645

Merged
azahnen merged 2 commits into
masterfrom
query-by-ids
Oct 13, 2026
Merged

azahnen merged 2 commits into
masterfrom
query-by-ids

Conversation

@cportele

@cportele cportele commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Part of addressing ldproxy/ldproxy#1806.

Value queries skipped the key-range window whenever the filter contained a feature id list. That is only correct for single-feature queries, which run without a meta query; a paged query with several ids returned every match in every chunk and on every page. The window is now omitted only when the meta query is skipped.

…n every page

Value queries skipped the key-range window whenever the filter contained
a feature id list. That is only correct for single-feature queries, which
run without a meta query; a paged query with several ids returned every
match in every chunk and on every page. The window is now omitted only
when the meta query is skipped.
@azahnen
azahnen enabled auto-merge (squash) October 13, 2026 08:14
@azahnen
azahnen merged commit 7227858 into master Oct 13, 2026
3 checks passed
@azahnen
azahnen deleted the query-by-ids branch October 13, 2026 08:17
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