Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/17697#discussion_r112804787
--- 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 --
BTW, does this test the number of reducers? It looks the input/output is
the same with the test above.
---
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]