Skip to content

feat(pipeline): use batchSize as selector page size#301

Merged
ddeboer merged 1 commit intomainfrom
feat/selector-page-size-from-batch-size
Mar 23, 2026
Merged

feat(pipeline): use batchSize as selector page size#301
ddeboer merged 1 commit intomainfrom
feat/selector-page-size-from-batch-size

Conversation

@ddeboer
Copy link
Member

@ddeboer ddeboer commented Mar 23, 2026

Summary

  • Remove the separate pageSize option from SparqlItemSelectorbatchSize is the single knob that controls both executor batch size and selector page size
  • Stage passes its batchSize to ItemSelector.select(), so each paginated selector request fills exactly one executor batch
  • A LIMIT clause in the selector query overrides batchSize (for endpoints with hard result limits)
  • Priority: query LIMIT > stage batchSize > default of 10
  • Remove redundant pageSize: 1000 from pipeline-void's classSelector() (the query already has LIMIT 1000)
  • Document batchSize behaviour in the pipeline README, including its relation to selector pagination and query LIMIT

Fix #298

@ddeboer ddeboer changed the title feat(pipeline): default selector page size to stage batchSize feat(pipeline): use batchSize as selector page size Mar 23, 2026
- Remove separate pageSize option from SparqlItemSelector — batchSize
  is the single knob controlling both executor batch size and selector
  page size
- Stage passes its batchSize to ItemSelector.select()
- A LIMIT clause in the selector query overrides batchSize for endpoints
  with hard result limits
- Priority: query LIMIT > stage batchSize > default of 10
- Document batchSize behaviour in the pipeline README
@ddeboer ddeboer force-pushed the feat/selector-page-size-from-batch-size branch from c812378 to 90e54b6 Compare March 23, 2026 18:58
@ddeboer ddeboer enabled auto-merge (squash) March 23, 2026 18:59
@ddeboer ddeboer merged commit 7fdc28f into main Mar 23, 2026
2 checks passed
@ddeboer ddeboer deleted the feat/selector-page-size-from-batch-size branch March 23, 2026 19:00
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.

Selector page size should default to stage batchSize

1 participant