srowen commented on code in PR #412: URL: https://github.com/apache/spark-website/pull/412#discussion_r966289200
########## site/docs/2.2.0/rdd-programming-guide.html: ########## @@ -1088,7 +1088,7 @@ <h3 id="transformations">Transformations</h3> </tr> <tr> <td> <b>sample</b>(<i>withReplacement</i>, <i>fraction</i>, <i>seed</i>) </td> - <td> Sample a fraction <i>fraction</i> of the data, with or without replacement, using a given random number generator seed. </td> + <td> Sample a <i>fraction</i> of the data, with or without replacement, using a given random number generator seed. </td> Review Comment: This isn't a typo. It's saying that the fraction is given by the argument _fraction_. Also, this is a PR against a copy of the docs generated for Spark 2.2.0. You would fix docs in the apache/spark source tree for the next release. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org