panbingkun commented on code in PR #44864:
URL: https://github.com/apache/spark/pull/44864#discussion_r1467163965
##########
python/pyspark/pandas/__init__.py:
##########
@@ -35,7 +35,9 @@
except ImportError as e:
if os.environ.get("SPARK_TESTING"):
warnings.warn(str(e))
- sys.exit()
+ # Run test without pandas/pyarrow on PyPy
Review Comment:
eg,
<img width="674" alt="image"
src="https://github.com/apache/spark/assets/15246973/4c74c5e4-7369-4748-8b94-ca576d17ac43">
If `pyarrow` or `pandas` are not used in `assertDataFrameEqual`, we will let
it execute.
If `pyarrow` or `pandas` are involved in `assertDataFrameEqual` and we have
not installed it, we will skip it.
Based on my understanding:
The `assertDataFrameEqual` method, during executing, if the data is not used
in `pyarrow` or `pandas` and `pyarrow` or `pandas` is not installed in the
environment, it will also throw an excertion. We should solve the problem in
this situation.
--
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]