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-51393][PYTHON] Fallback to regular Python UDF when Arrow is not found but Arrow-optimized Python UDFs enabled #50160

Closed
wants to merge 3 commits into from

Conversation

HyukjinKwon
Copy link
Member

What changes were proposed in this pull request?

This PR extracts legitimate improvement in #49482. Falls back regular Python UDF when Arrow is not found but Arrow-optimized Python UDFs enabled.

Why are the changes needed?

To minimize end user impact.

Does this PR introduce any user-facing change?

Yes, it falls back to regular Python UDF when Arrow is not found but Arrow-optimized Python UDFs enabled.

How was this patch tested?

Manually tested.

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

No.

@dongjoon-hyun
Copy link
Member

dongjoon-hyun commented Mar 5, 2025

As mentioned in the PR description, this seems to have user-facing side-effect.

To minimize end user impact.

Just for the record, PyPy 3.10 CIs also have been broken in both master and branch-4.0 after the reverting commit, eb48553 .

I raised SPARK-51393's priority to Blocker level.

cc @cloud-fan

@HyukjinKwon
Copy link
Member Author

Merged to master and branch-4.0.

HyukjinKwon added a commit that referenced this pull request Mar 6, 2025
…t found but Arrow-optimized Python UDFs enabled

### What changes were proposed in this pull request?

This PR extracts legitimate improvement in #49482. Falls back regular Python UDF when Arrow is not found but Arrow-optimized Python UDFs enabled.

### Why are the changes needed?

To minimize end user impact.

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

Yes, it falls back to regular Python UDF when Arrow is not found but Arrow-optimized Python UDFs enabled.

### How was this patch tested?

Manually tested.

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

No.

Closes #50160 from HyukjinKwon/SPARK-51393.

Authored-by: Hyukjin Kwon <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
(cherry picked from commit 74293cc)
Signed-off-by: Hyukjin Kwon <[email protected]>
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.

5 participants