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 76d9a70932d [SPARK-45735][PYTHON][CONNECT][TESTS] Reenable
CatalogTests without Spark Connect
76d9a70932d is described below
commit 76d9a70932df97d8ea4cc6e279933dee29a88571
Author: Hyukjin Kwon <[email protected]>
AuthorDate: Tue Oct 31 16:47:30 2023 +0900
[SPARK-45735][PYTHON][CONNECT][TESTS] Reenable CatalogTests without Spark
Connect
### What changes were proposed in this pull request?
This PR is a followup of https://github.com/apache/spark/pull/39214 that
restores the original Catalog tests in PySpark. That PR mistakenly disabled the
tests without Spark Connect:
https://github.com/apache/spark/blob/fc6a5cca06cf15c4a952cb56720f627efdba7cce/python/pyspark/sql/tests/test_catalog.py#L489
### Why are the changes needed?
To restore the test coverage.
### Does this PR introduce _any_ user-facing change?
No, test-only.
### How was this patch tested?
Reenabled unittests.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #43595 from HyukjinKwon/SPARK-45735.
Authored-by: Hyukjin Kwon <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
---
python/pyspark/sql/tests/test_catalog.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/python/pyspark/sql/tests/test_catalog.py
b/python/pyspark/sql/tests/test_catalog.py
index cafffdc9ae8..b72172a402b 100644
--- a/python/pyspark/sql/tests/test_catalog.py
+++ b/python/pyspark/sql/tests/test_catalog.py
@@ -486,7 +486,7 @@ class CatalogTestsMixin:
self.assertEqual(spark.table("my_tab").count(), 0)
-class CatalogTests(ReusedSQLTestCase):
+class CatalogTests(CatalogTestsMixin, ReusedSQLTestCase):
pass
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]