Github user mengxr commented on a diff in the pull request:
https://github.com/apache/spark/pull/1025#discussion_r14907544
--- Diff: core/src/main/scala/org/apache/spark/rdd/PairRDDFunctions.scala
---
@@ -195,6 +193,37 @@ class PairRDDFunctions[K, V](self: RDD[(K, V)])
}
/**
+ * Return a subset of this RDD sampled by key (via stratified sampling).
+ *
+ * If exact set to true, we guarantee, with high probability, a sample
size =
--- End diff --
The first sentence should provide a summary and the following paragraph
should expand this first sentence if some terms there are not well-defined,
e.g., `sample by key` in this case.
---
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.
---