Skip to content

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

Open
gianm wants to merge 1 commit intoapache:masterfrom
gianm:msq-count-rows-before-mapping
Open

MSQ: Get row count for counters before mapping.#19186
gianm wants to merge 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
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