Skip to content

[SPARK-53146][CONNECT][SQL] Make MergeIntoTable in SparkConnectPlanner side effect free #51876

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

heyihong
Copy link
Contributor

@heyihong heyihong commented Aug 6, 2025

What changes were proposed in this pull request?

This PR refactors the MergeIntoTable handling in SparkConnectPlanner to make it side-effect free by separating the transformation and execution phases.

Why are the changes needed?

Make MergeIntoTable side-effect free

Does this PR introduce any user-facing change?

No. This is a purely internal refactoring.

How was this patch tested?

Existing tests

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Cursor 1.3.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant