Github user ogirardot commented on a diff in the pull request:
https://github.com/apache/spark/pull/5571#discussion_r28642638
--- Diff: core/src/main/scala/org/apache/spark/api/java/JavaDoubleRDD.scala
---
@@ -164,6 +166,20 @@ class JavaDoubleRDD(val srdd: RDD[scala.Double])
def sum(): JDouble = srdd.sum()
/**
+ * Returns the minimum element from this RDD as defined by
+ * the default comparator natural order.
+ * @return the minimum of the RDD
+ */
+ def min(): JDouble =
super.min(com.google.common.collect.Ordering.natural())
--- End diff --
you're right it doesn't - it doesn't shock me, but I'll change it
---
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]