HyukjinKwon commented on code in PR #39492:
URL: https://github.com/apache/spark/pull/39492#discussion_r1066536930


##########
python/pyspark/sql/tests/test_dataframe.py:
##########
@@ -42,6 +42,7 @@
     DayTimeIntervalType,
 )
 from pyspark.sql.utils import AnalysisException, IllegalArgumentException
+from pyspark.sql.connect.client import SparkConnectAnalysisException

Review Comment:
   The problem here is that PyArrow is an optional dependency but importing 
this requires PyArrow. So we should wait for 
https://github.com/apache/spark/pull/39387 to be merged first, and the 
exception is factored out to the separate module that doesn't require PyArrow 
to be imported.



-- 
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