Github user shiv4nsh commented on a diff in the pull request:

    https://github.com/apache/spark/pull/14503#discussion_r73650870
  
    --- Diff: docs/programming-guide.md ---
    @@ -1097,7 +1097,7 @@ for details.
     <tr>
       <td> <b>foreach</b>(<i>func</i>) </td>
       <td> Run a function <i>func</i> on each element of the dataset. This is 
usually done for side effects such as updating an <a 
href="#accumulators">Accumulator</a> or interacting with external storage 
systems.
    -  <br /><b>Note</b>: modifying variables other than Accumulators outside 
of the <code>foreach()</code> may result in undefined behavior. See <a 
href="#ClosuresLink">Understanding closures </a> for more details.</td>
    +  <br /><b>Note</b>: modifying variables other than Accumulators outside 
of the <code>foreach()</code> may result in undefined behavior. See <a 
href="#understanding-closures-a-nameclosureslinka">Understanding closures </a> 
for more details.</td>
    --- End diff --
    
    @srowen : When we see on the documentation: 
https://spark.apache.org/docs/latest/programming-guide.html#understanding-closures-a-nameclosureslinka
 Points to the understanding Closure documentation part hence I replaced it 
here. I have also rechecked it by generating the docs


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to