Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-39333][SQL] Change to use foreach when map doesn't produce results #36720

Closed
wants to merge 1 commit into from

Conversation

LuciferYang
Copy link
Contributor

What changes were proposed in this pull request?

This pr change to use foreach when map doesn't produce results in Spark code.

Why are the changes needed?

Use appropriate api.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Pass Github Actions.

@HyukjinKwon
Copy link
Member

Merged to master.

@LuciferYang
Copy link
Contributor Author

thanks @HyukjinKwon

LuciferYang added a commit that referenced this pull request Jun 7, 2023
…'t produce results

### What changes were proposed in this pull request?
Similar as #36720, this pr change to use `foreach` when `map` doesn't produce results in Spark code,   these are new cases after Spark 3.4.

### Why are the changes needed?
Use appropriate api.

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Pass Github Actions.

Closes #41482 from LuciferYang/SPARK-43984.

Authored-by: yangjie01 <yangjie01@baidu.com>
Signed-off-by: yangjie01 <yangjie01@baidu.com>
czxm pushed a commit to czxm/spark that referenced this pull request Jun 12, 2023
…'t produce results

### What changes were proposed in this pull request?
Similar as apache#36720, this pr change to use `foreach` when `map` doesn't produce results in Spark code,   these are new cases after Spark 3.4.

### Why are the changes needed?
Use appropriate api.

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Pass Github Actions.

Closes apache#41482 from LuciferYang/SPARK-43984.

Authored-by: yangjie01 <yangjie01@baidu.com>
Signed-off-by: yangjie01 <yangjie01@baidu.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants