Github user yangyangyyy commented on a diff in the pull request:
https://github.com/apache/spark/pull/17697#discussion_r112805342
--- Diff:
mllib/src/test/scala/org/apache/spark/mllib/rdd/MLPairRDDFunctionsSuite.scala
---
@@ -33,4 +33,16 @@ class MLPairRDDFunctionsSuite extends SparkFunSuite with
MLlibTestSparkContext {
assert(topMap(3) === Array(7, 5, 2))
assert(topMap(5) === Array(1))
}
+
+ test("topByKeyUsingBuckets") {
--- End diff --
yes it's supposed to be the same. unfortunately I can't see a way to verify
the number of reducers being actually used. it's not a correctness issue
though, so I think verifying manually should be enough ---- I did verify on
spark UI that it's invoking the intended reducer count
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]