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-46230][PYTHON] Migrate RetriesExceeded into PySpark error #44147

Closed
wants to merge 7 commits into from

Conversation

itholic
Copy link
Contributor

@itholic itholic commented Dec 4, 2023

What changes were proposed in this pull request?

This PR proposes to migrate RetriesExceeded into PySpark error.

Why are the changes needed?

All errors defined from PySpark should be inherits PySparkException to keep the consistency of error messages generated from PySpark.

Does this PR introduce any user-facing change?

No, it's internal refactoring for better error handling.

How was this patch tested?

The existing CI should pass.

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

No.

@itholic itholic changed the title [SPARK-46230][PYTHON] Migrate RetriesExceeded and RetryException into PySpark error. [SPARK-46230][PYTHON] Migrate RetriesExceeded into PySpark error. Dec 4, 2023
@HyukjinKwon HyukjinKwon changed the title [SPARK-46230][PYTHON] Migrate RetriesExceeded into PySpark error. [SPARK-46230][PYTHON] Migrate RetriesExceeded into PySpark error Dec 4, 2023
@dongjoon-hyun
Copy link
Member

Thank you, @itholic and Hyukjin. Merged to master

@itholic
Copy link
Contributor Author

itholic commented Dec 6, 2023

Thanks!

dbatomic pushed a commit to dbatomic/spark that referenced this pull request Dec 11, 2023
### What changes were proposed in this pull request?

This PR proposes to migrate `RetriesExceeded` into PySpark error.

### Why are the changes needed?

All errors defined from PySpark should be inherits `PySparkException` to keep the consistency of error messages generated from PySpark.

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

No, it's internal refactoring for better error handling.

### How was this patch tested?

The existing CI should pass.

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

No.

Closes apache#44147 from itholic/retires_exception.

Authored-by: Haejoon Lee <haejoon.lee@databricks.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
@itholic itholic deleted the retires_exception branch January 1, 2024 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants