Skip to content

WorkerImpl: Skip null dimensions when emitting metrics.#19079

Merged
gianm merged 1 commit intoapache:masterfrom
gianm:msq-fix-metric-npe
Mar 3, 2026
Merged

WorkerImpl: Skip null dimensions when emitting metrics.#19079
gianm merged 1 commit intoapache:masterfrom
gianm:msq-fix-metric-npe

Conversation

@gianm
Copy link
Contributor

@gianm gianm commented Mar 3, 2026

If a query ends without a worker ever receiving a work order (perhaps due to failure), the call to DefaultQueryMetrics.getTableNamesAsString would throw a NullPointerException.

This patch updates metric emitting logic to skip dimensions that are not available at the time the query completes.

If a query ends without a worker ever receiving a work order (perhaps
due to failure), the call to DefaultQueryMetrics.getTableNamesAsString
would throw a NullPointerException.

This patch updates metric emitting logic to skip dimensions that
are not available at the time the query completes.
@github-actions github-actions bot added Area - Batch Ingestion Area - MSQ For multi stage queries - https://github.com/apache/druid/issues/12262 labels Mar 3, 2026
@gianm gianm merged commit 7750759 into apache:master Mar 3, 2026
37 checks passed
@gianm gianm deleted the msq-fix-metric-npe branch March 3, 2026 23:35
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