wirybeaver commented on code in PR #15760: URL: https://github.com/apache/pinot/pull/15760#discussion_r2082638531
########## pinot-query-planner/src/main/java/org/apache/pinot/query/planner/physical/v2/opt/rules/LeafStageWorkerAssignmentRule.java: ########## @@ -292,6 +303,9 @@ static TableScanWorkerAssignmentResult attemptPartitionedDistribution(String tab } } } + if (invalidSegmentsByInferredPartition.containsKey(partitionNum)) { Review Comment: Would it be possible that the invalidSegmentsByInferredPartition's keyset is the superset of numPartition? -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org