Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/14503#discussion_r73651675
--- 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 --
Ah right this is an auto-generated anchor. this is OK.
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]