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-45441][PYTHON] Introduce more util functions for PythonWorkerUtils #43251

Closed
wants to merge 1 commit into from

Conversation

ueshin
Copy link
Member

@ueshin ueshin commented Oct 6, 2023

What changes were proposed in this pull request?

Introduces more util functions for PythonWorkerUtils.

The following util functions will be added:

  • writePythonFunction
  • readUTF

Why are the changes needed?

There are more common codes to communicate with the Python worker.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

The existing tests.

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

No.

@ueshin
Copy link
Member Author

ueshin commented Oct 6, 2023

Also cc @dtenedor @WweiL

Copy link
Contributor

@dtenedor dtenedor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be helpful for reusing shared functionality. Thanks for doing the refactor!

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM. Thank you, @ueshin , @dtenedor , @HyukjinKwon .
Merged to master for Apache Spark 4.

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