This is an automated email from the ASF dual-hosted git repository. gurwls223 pushed a commit to branch branch-3.5 in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-3.5 by this push: new ec7e888d7082 [SPARK-48167][CONNECT][TESTS] Skip known behaviour change by SPARK-46122 ec7e888d7082 is described below commit ec7e888d70822796146ffb2769ccae759baf24f4 Author: Hyukjin Kwon <gurwls...@apache.org> AuthorDate: Tue May 7 16:16:02 2024 +0900 [SPARK-48167][CONNECT][TESTS] Skip known behaviour change by SPARK-46122 ### What changes were proposed in this pull request? This PR proposes to skip `test_create_without_provider` in backward compatibility test in https://github.com/apache/spark/actions/workflows/build_python_connect35.yml ### Why are the changes needed? This is a intentional behaviour change (SPARK-46122) ### Does this PR introduce _any_ user-facing change? No, test-only. ### How was this patch tested? Tested in my fork ### Was this patch authored or co-authored using generative AI tooling? No. Closes #46430 from HyukjinKwon/SPARK-48167. Authored-by: Hyukjin Kwon <gurwls...@apache.org> Signed-off-by: Hyukjin Kwon <gurwls...@apache.org> --- python/pyspark/sql/tests/test_readwriter.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/pyspark/sql/tests/test_readwriter.py b/python/pyspark/sql/tests/test_readwriter.py index 921d2eba5ac7..e903d3383b74 100644 --- a/python/pyspark/sql/tests/test_readwriter.py +++ b/python/pyspark/sql/tests/test_readwriter.py @@ -16,6 +16,7 @@ # import os +import unittest import shutil import tempfile @@ -245,6 +246,8 @@ class ReadwriterV2TestsMixin: df.writeTo("test_table").using("parquet").create() self.assertEqual(100, self.spark.sql("select * from test_table").count()) + @unittest.skipIf( + "SPARK_SKIP_CONNECT_COMPAT_TESTS" in os.environ, "Known behavior change in 4.0") def test_create_without_provider(self): df = self.df with self.assertRaisesRegex( --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org