Ma77Ball opened a new pull request, #9587: URL: https://github.com/apache/texera/pull/9587
### What changes were proposed in this PR? - RoundRobinPartitioner.getBucketIndex emits the current index and then advances, so the cycle starts at receiver 0, and returns an empty iterator when there are no receivers instead of throwing ArithmeticException. ### Any related issues, documentation, discussions? Closes: #9584 ### How was this PR tested? - Run `sbt "WorkflowExecutionService/testOnly *PartitionersSpec"` under JDK 17; the spec now expects the cycle to start at receiver 0 and adds a case that an empty receiver set yields no bucket index. - Could NOT run locally: the amber module needs its jOOQ DAO regenerated from the DDL (a DB-backed build step) to compile, which this environment cannot do, so the spec runs in CI's build / amber job. ### Was this PR authored or co-authored using generative AI tooling? Co-authored with Claude Opus 4.8 in compliance with ASF -- 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]
