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


##########
python/pyspark/sql/tests/test_creation.py:
##########
@@ -157,10 +160,15 @@ def test_partial_inference_failure(self):
             message_parameters={},
         )
 
+    @unittest.skipIf(
+        not have_pandas or not have_pyarrow,
+        cast(str, pandas_requirement_message or pyarrow_requirement_message),
+    )
     def test_schema_inference_from_pandas_with_dict(self):
         # SPARK-47543: test for verifying if inferring `dict` as `MapType` 
work properly.
         import pandas as pd
 
+        cast

Review Comment:
   ```suggestion
   ```



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