Details
Description
This ticket aims to introduce new PySpark framework to centralize the PySpark error message into single path and improve the error message more actionable and consistency.
This umbrella JIRA might includes:
- Introduce new error framework for PySpark
- Migrate existing errors generated by Python driver into error classes.
- Migrate existing errors generated by Python worker into error classes.
- Migrate existing errors generated by Py4J into error classes.
- Introduce test utils for testing errors by its error class instead of error messages.
- Improve the error messages.
- Documentation for PySpark error framework.