ankitsultana commented on code in PR #15760:
URL: https://github.com/apache/pinot/pull/15760#discussion_r2082693811
##########
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:
Great catch. We should take modulus in that case. (though this case is very
unlikely, since it would mean that we have a scenario like 256 kafka partitions
but 64 data partitions).
--
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]