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-47251][PYTHON][FOLLOWUP] Use __name__ instead of string representation #45393

Closed
wants to merge 1 commit into from

Conversation

ueshin
Copy link
Member

@ueshin ueshin commented Mar 5, 2024

What changes were proposed in this pull request?

This is a follow-up of #45361.

Use __name__ instead of string representation for the error parameter.

Why are the changes needed?

To be consistent with other places.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Updated the related tests.

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

No.

@xinrong-meng
Copy link
Member

LGTM, thank you!

@HyukjinKwon
Copy link
Member

Merged to master.

jpcorreia99 pushed a commit to jpcorreia99/spark that referenced this pull request Mar 12, 2024
…entation

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

This is a follow-up of apache#45361.

Use `__name__` instead of string representation for the error parameter.

### Why are the changes needed?

To be consistent with other places.

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

No.

### How was this patch tested?

Updated the related tests.

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

No.

Closes apache#45393 from ueshin/issues/SPARK-47251/fup.

Authored-by: Takuya UESHIN <ueshin@databricks.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants