Skip to content
Snippets Groups Projects
Commit 0dc4310b authored by Sean Owen's avatar Sean Owen
Browse files

[SPARK-16694][CORE] Use for/foreach rather than map for Unit expressions whose...

[SPARK-16694][CORE] Use for/foreach rather than map for Unit expressions whose side effects are required

## What changes were proposed in this pull request?

Use foreach/for instead of map where operation requires execution of body, not actually defining a transformation

## How was this patch tested?

Jenkins

Author: Sean Owen <sowen@cloudera.com>

Closes #14332 from srowen/SPARK-16694.
parent bbc24754
No related branches found
No related tags found
No related merge requests found
Showing
with 73 additions and 84 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment