zhengruifeng opened a new pull request #27947: [SPARK-31182][CORE][ML] PairRDD support aggregateByKeyWithinPartitions URL: https://github.com/apache/spark/pull/27947 ### What changes were proposed in this pull request? 1, impl `aggregateByKeyWithinPartitions` and `reduceByKeyWithinPartitions` 2, use `aggregateByKeyWithinPartitions` in `RobustScaler` ### Why are the changes needed? When implementing `RobustScaler`, I was looking for a way to guarantee that the `QuantileSummaries` in `aggregateByKey` are compressed before network communication. (before merge and qurey, the `QuantileSummaries` must be compressed) Then I only found a tricky method to work around (yet not applied), and there was no method for this. previous discussions were [here](https://github.com/apache/spark/pull/26803) ### Does this PR introduce any user-facing change? Yes, add new methods for PairRDD ### How was this patch tested? added testsuites and existing ones
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
