Skip to content

fix: ScanQueryFrameProcessor should not send offset to data servers. - #20588

Merged
gianm merged 1 commit into
apache:masterfrom
gianm:fix-scan-rt-offset
Oct 14, 2026
Merged

gianm merged 1 commit into
apache:masterfrom
gianm:fix-scan-rt-offset

Conversation

@gianm

@gianm gianm commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

ScanQueryFrameProcessor currently includes the original offset and limit when sending queries to data servers. It should instead send an offset of zero and add the offset to the limit.

ScanQueryFrameProcessor currently includes the original offset and
limit when sending queries to data servers. It should instead send
an offset of zero and add the offset to the limit.
@github-actions github-actions Bot added Area - Batch Ingestion Area - MSQ For multi stage queries - https://github.com/apache/druid/issues/12262 labels Oct 14, 2026

@FrankChen021 FrankChen021 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The data-server pushdown now removes the original offset and preserves enough rows for MSQ to apply the final offset and limit after combining sources. No merge-blocking issue was found.

Reviewed 2 of 2 changed files.

Validation: git diff --check passed. No tests or builds were run.


This is an automated review by Codex GPT-5.6-Luna(max)

@gianm
gianm merged commit e78e3b5 into apache:master Oct 14, 2026
27 checks passed
@gianm
gianm deleted the fix-scan-rt-offset branch October 14, 2026 18:23
@github-actions github-actions Bot added this to the 39.0.0 milestone Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area - Batch Ingestion Area - MSQ For multi stage queries - https://github.com/apache/druid/issues/12262

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants