You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by anabranch <gi...@git.apache.org> on 2016/11/12 17:46:29 UTC
[GitHub] spark pull request #15815: [DOCS][SPARK-18365] Improve Sample Documentation
Github user anabranch commented on a diff in the pull request:
https://github.com/apache/spark/pull/15815#discussion_r87696853
--- Diff: sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala ---
@@ -1612,7 +1612,9 @@ class Dataset[T] private[sql](
}
/**
- * Returns a new Dataset by sampling a fraction of rows.
+ * Returns a new Dataset by sampling a fraction of rows, using a user-supplied seed.
+ * Note: this is NOT guaranteed to provide exactly the fraction specified of the
+ * Dataset.
--- End diff --
Done in next commit.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org