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-51079] Added constructor for ArrowSerializer for backward compatibility. #50513

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

Conversation

haiyangsun-db
Copy link
Contributor

@haiyangsun-db haiyangsun-db commented Apr 4, 2025

What changes were proposed in this pull request?

Previously, PR extends ArrowSerializer class to support large variable types in pandas UDF. This PR makes it more backward-compatible by adding a new constructor for cases where the flag for large variable is irrelevant (default to false).

Why are the changes needed?

To achieve versionless in spark connect, we need to be careful about changing a client API in Scala. For example, the change of an interface like this could affect Scala UDF referring to this class (as it is part of the spark connect client package) but running with an older spark connect client.

How was this patch tested?

N/A. It's a new constructor.

@haiyangsun-db haiyangsun-db changed the title Added constructor for backward compatibility. [SPARK-51079] Added constructor for ArrowSerializer for backward compatibility. Apr 4, 2025
@haiyangsun-db haiyangsun-db marked this pull request as ready for review April 4, 2025 10:07
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.

2 participants