Skip to content

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

Open
cportele wants to merge 1 commit into
masterfrom
query-by-ids
Open

cportele wants to merge 1 commit 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.
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.

1 participant