This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new b930f7a1e81 [SPARK-43964][PYTHON][TESTS][FOLLOWUP] Skip a test using
pandas when pandas is not available
b930f7a1e81 is described below
commit b930f7a1e8145a4f22ee047cee24e9a5f94d72ba
Author: Takuya UESHIN <[email protected]>
AuthorDate: Tue Jul 25 12:03:36 2023 +0900
[SPARK-43964][PYTHON][TESTS][FOLLOWUP] Skip a test using pandas when pandas
is not available
### What changes were proposed in this pull request?
This is a follow-up of apache/spark#41867.
Skips a test using pandas when pandas is not available.
### Why are the changes needed?
There is a test using pandas, but there is a case where pandas is not
available.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Manually.
Closes #42131 from ueshin/issues/SPARK-43964/skip.
Authored-by: Takuya UESHIN <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
---
python/pyspark/sql/tests/test_udtf.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/python/pyspark/sql/tests/test_udtf.py
b/python/pyspark/sql/tests/test_udtf.py
index e67ec245795..a6c7b97acc4 100644
--- a/python/pyspark/sql/tests/test_udtf.py
+++ b/python/pyspark/sql/tests/test_udtf.py
@@ -487,6 +487,7 @@ class BaseUDTFTestsMixin:
self.assertEqual(TestUDTF(lit(1)).collect(), [Row(x={1: "1"})])
+ @unittest.skipIf(not have_pandas, pandas_requirement_message)
def test_udtf_with_pandas_input_type(self):
import pandas as pd
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]