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 1cf35f506b53 [SPARK-51774][CONNECT][FOLLOW-UP][TESTS] Skip ConnectErrorsTest if grpc is not available 1cf35f506b53 is described below commit 1cf35f506b53af1e973e881cfad8819374562c5a Author: Hyukjin Kwon <gurwls...@apache.org> AuthorDate: Tue Apr 22 13:26:42 2025 +0900 [SPARK-51774][CONNECT][FOLLOW-UP][TESTS] Skip ConnectErrorsTest if grpc is not available ### What changes were proposed in this pull request? This PR proposes to skip `ConnectErrorsTest` if `grpc` is not available. ### Why are the changes needed? To recover the scheduled build (https://github.com/apache/spark/actions/runs/14579485163) ### Does this PR introduce _any_ user-facing change? No, test-only. ### How was this patch tested? CI in this PR should verify the change. I will also monitor the scheduled build. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #50659 from HyukjinKwon/SPARK-51774-followup2. Authored-by: Hyukjin Kwon <gurwls...@apache.org> Signed-off-by: Hyukjin Kwon <gurwls...@apache.org> --- python/pyspark/errors/tests/test_connect_errors_conversion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyspark/errors/tests/test_connect_errors_conversion.py b/python/pyspark/errors/tests/test_connect_errors_conversion.py index c871d5e8ad0a..c6d87a190bea 100644 --- a/python/pyspark/errors/tests/test_connect_errors_conversion.py +++ b/python/pyspark/errors/tests/test_connect_errors_conversion.py @@ -18,7 +18,6 @@ import unittest -from pyspark.sql.connect.proto import FetchErrorDetailsResponse as pb2 from pyspark.testing import should_test_connect, connect_requirement_message from pyspark.errors.exceptions.connect import ( convert_exception, @@ -116,6 +115,7 @@ class ConnectErrorsTest(unittest.TestCase): def test_convert_exception_with_stacktrace(self): # Mock FetchErrorDetailsResponse with stacktrace from google.rpc.error_details_pb2 import ErrorInfo + from pyspark.sql.connect.proto import FetchErrorDetailsResponse as pb2 resp = pb2( root_error_idx=0, --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org