HyukjinKwon opened a new pull request, #44848:
URL: https://github.com/apache/spark/pull/44848

   ### What changes were proposed in this pull request?
   
   This PR proposes:
   - Add the automated way of writing `error_classes.py` file, `from 
pyspark.errors.exceptions import _write_self; _write_self()`
   - Fix the formatting of the JSON file to be consistent
   - Fix typos within the error messages
   - Fix parameter names to be consistent (it fixes some, not all)
   
   ### Why are the changes needed?
   
   - Now, it is difficult to add a new error class because it enforces 
alphabetical order or error classes, etc. When you add multiple error classes, 
you should manually fix and move them around which is troublesome.
   - In addition, the current JSON format isn't very consistent.
   - For consistency. This PR includes the changes of *some* of parameter 
naming.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes, it fixes a couple of typos.
   
   ### How was this patch tested?
   
   Unittests were fixed together.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   No.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to