HyukjinKwon commented on code in PR #39591:
URL: https://github.com/apache/spark/pull/39591#discussion_r1071166281
##########
python/pyspark/sql/utils.py:
##########
@@ -18,15 +18,12 @@
import os
Review Comment:
I think you should import these exception here, e.g.)
```python
from pyspark.errors.exceptions import (
AnalysisException,
ParseException,
IllegalArgumentException,
SparkUpgradeException,
)
```
and ignore inters so that downstream user's codes are not broken when they
catch the specific exceptions.
--
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]