You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by GitBox <gi...@apache.org> on 2022/09/08 18:31:59 UTC

[GitHub] [spark-website] abubakrsiddq commented on a diff in pull request #412: correct typo in rdd-programming-guide

abubakrsiddq commented on code in PR #412:
URL: https://github.com/apache/spark-website/pull/412#discussion_r966294077


##########
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:
   args are specified in the left field. looks to be a typo 
   ![image](https://user-images.githubusercontent.com/48096234/189198770-f7c6f852-2307-415a-9d81-a9eb09c12af1.png)
    Also do we just correct this file then https://github.com/apache/spark/blob/master/docs/rdd-programming-guide.md even for the site?



-- 
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-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org