[
https://issues.apache.org/jira/browse/SPARK-46112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongjoon Hyun resolved SPARK-46112.
-----------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Issue resolved by pull request 44203
[https://github.com/apache/spark/pull/44203]
> Implement lint check for PySpark custom errors
> ----------------------------------------------
>
> Key: SPARK-46112
> URL: https://issues.apache.org/jira/browse/SPARK-46112
> Project: Spark
> Issue Type: Sub-task
> Components: Build, PySpark
> Affects Versions: 4.0.0
> Reporter: Haejoon Lee
> Assignee: Haejoon Lee
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
>
> Currently, in the PySpark codebase, there is an inconsistency in the usage of
> exceptions. In some instances, PySpark-specific exceptions are utilized,
> while in others, generic Python built-in exceptions are used. This
> inconsistency can lead to confusion and difficulty in maintaining and
> debugging the code. See [https://github.com/apache/spark/pull/44024] related
> work to fix such a case.
> The goal of this ticket is to establish a standardized practice for error
> handling in PySpark by mandating the use of PySpark-specific exceptions where
> applicable. This will ensure that all exceptions thrown within PySpark adhere
> to a consistent format and standard, making them more informative and easier
> to handle.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]