This is an automated email from the ASF dual-hosted git repository.
ruifengz 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 8a6e5bb7a292 [MINOR][PYTHON][TESTS] Remove redundant parity tests
8a6e5bb7a292 is described below
commit 8a6e5bb7a2929ded80cce33f117a1c693b4ca531
Author: Ruifeng Zheng <[email protected]>
AuthorDate: Thu Mar 28 20:05:36 2024 +0800
[MINOR][PYTHON][TESTS] Remove redundant parity tests
### What changes were proposed in this pull request?
Remove redundant parity tests
### Why are the changes needed?
code clean up
checked all parity tests, no other similar cases
### Does this PR introduce _any_ user-facing change?
no, test-only
### How was this patch tested?
ci
### Was this patch authored or co-authored using generative AI tooling?
no
Closes #45746 from zhengruifeng/parity_test_cleanup.
Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Ruifeng Zheng <[email protected]>
---
python/pyspark/sql/tests/connect/test_parity_dataframe.py | 7 -------
1 file changed, 7 deletions(-)
diff --git a/python/pyspark/sql/tests/connect/test_parity_dataframe.py
b/python/pyspark/sql/tests/connect/test_parity_dataframe.py
index 9293dd71c60d..343f485553a9 100644
--- a/python/pyspark/sql/tests/connect/test_parity_dataframe.py
+++ b/python/pyspark/sql/tests/connect/test_parity_dataframe.py
@@ -26,17 +26,10 @@ class DataFrameParityTests(DataFrameTestsMixin,
ReusedConnectTestCase):
df = self.spark.createDataFrame(data=[{"foo": "bar"}, {"foo": "baz"}])
super().check_help_command(df)
- # Spark Connect throws `IllegalArgumentException` when calling `collect`
instead of `sample`.
- def test_sample(self):
- super().test_sample()
-
@unittest.skip("Spark Connect does not support RDD but the tests depend on
them.")
def test_toDF_with_schema_string(self):
super().test_toDF_with_schema_string()
- def test_toDF_with_string(self):
- super().test_toDF_with_string()
-
if __name__ == "__main__":
import unittest
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]