dang-stripe commented on code in PR #18237:
URL: https://github.com/apache/pinot/pull/18237#discussion_r3139773583
##########
pinot-query-planner/src/main/java/org/apache/pinot/query/routing/WorkerManager.java:
##########
@@ -551,6 +554,7 @@ private void
assignWorkersToNonPartitionedLeafFragment(DispatchablePlanMetadata
if (!routingTable.getUnavailableSegments().isEmpty()) {
metadata.addUnavailableSegments(tableName,
routingTable.getUnavailableSegments());
}
+
context.addNumSegmentsPrunedByBroker(routingTable.getNumPrunedSegments());
Review Comment:
makes sense. i added the null guard. also fixed a test that was missing the
pruning flag (adding the null guard surfaced this).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]