Skip to content

MSQ: Get row count for counters before mapping.#19186

Merged
gianm merged 1 commit intoapache:masterfrom
gianm:msq-count-rows-before-mapping
Mar 20, 2026
Merged

MSQ: Get row count for counters before mapping.#19186
gianm merged 1 commit intoapache:masterfrom
gianm:msq-count-rows-before-mapping

Conversation

@gianm
Copy link
Contributor

@gianm gianm commented Mar 20, 2026

Mapped segments generally do not have a PhysicalSegmentInspector, so getting the segment row count after mapping often leads to zero. Better to fetch the row count prior to mapping.

Mapped segments generally do not have a PhysicalSegmentInspector, so
getting the segment row count after mapping often leads to zero.
@github-actions github-actions bot added Area - Batch Ingestion Area - MSQ For multi stage queries - https://github.com/apache/druid/issues/12262 labels Mar 20, 2026
@gianm gianm merged commit 4b082a5 into apache:master Mar 20, 2026
37 checks passed
@gianm gianm deleted the msq-count-rows-before-mapping branch March 20, 2026 15:32
@github-actions github-actions bot added this to the 37.0.0 milestone Mar 20, 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.

2 participants