[SPARK-48088][PYTHON][CONNECT][TESTS][3.5] Skip tests that fail in 3.5 client <> 4.0 server#46334
[SPARK-48088][PYTHON][CONNECT][TESTS][3.5] Skip tests that fail in 3.5 client <> 4.0 server#46334HyukjinKwon wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
I am going to forward port a bit of changes into master to reduce the diff later.
c695fd4 to
c8d13e8
Compare
dongjoon-hyun
left a comment
There was a problem hiding this comment.
Oh, I thought Spark Connect is supposed to handle this, @HyukjinKwon .
Do you know what breaks the compatibility?
|
cc @grundprinzip , too |
|
I am triaging the breaking changes in the umbrella JIRA at https://issues.apache.org/jira/browse/SPARK-48082. They are mostly because of new features so it seems not so bad. |
dongjoon-hyun
left a comment
There was a problem hiding this comment.
+1, LGTM. Thank you, @HyukjinKwon .
|
Merged to branch-3.5. I will perpare separate forward port PR |
…5 client <> 4.0 server ### What changes were proposed in this pull request? This PR proposes to skip the tests that fail with 3.5 client and 4.0 server in Spark Connect (by adding `SPARK_SKIP_CONNECT_COMPAT_TESTS`). This is a base work for #46298. This partially backports #45870 This PR also adds `SPARK_CONNECT_TESTING_REMOTE` environment variable so developers can run PySpark unittests against a Spark Connect server. ### Why are the changes needed? In order to set up the CI that tests 3.5 client and 4.0 server in Spark Connect. ### Does this PR introduce _any_ user-facing change? No, test-only. ### How was this patch tested? Tested it in my fork, see #46298 ### Was this patch authored or co-authored using generative AI tooling? No. Closes #46334 from HyukjinKwon/SPARK-48088. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
…test 4.0 <> above ### What changes were proposed in this pull request? This PR forward ports #46334 to reduce conflicts. ### Why are the changes needed? To reduce the conflict against branch-3.5, and prepare 4.0 <> above test. ### Does this PR introduce _any_ user-facing change? No, dev-only. ### How was this patch tested? CI in this PR should verify them. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #46358 from HyukjinKwon/SPARK-48088-40. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
…to SPARK_SKIP_CONNECT_COMPAT_TESTS ### What changes were proposed in this pull request? This PR is a followup of #46298 that properly uses the environment variable SPARK_SKIP_CONNECT_COMPAT_TESTS added at #46334 ### Why are the changes needed? To recover the compatibility test (https://github.com/apache/spark/actions/runs/8961109352/job/24608366499). ### Does this PR introduce _any_ user-facing change? No, dev-only. ### How was this patch tested? Manually ### Was this patch authored or co-authored using generative AI tooling? No. Closes #46394 from HyukjinKwon/SPARK-48054-followup. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
…hat that requires JVM access ### What changes were proposed in this pull request? This PR is a followup of #46334 that missed one more test case. ### Why are the changes needed? See #46334 ### Does this PR introduce _any_ user-facing change? See #46334 ### How was this patch tested? Manually ### Was this patch authored or co-authored using generative AI tooling? No. Closes #46411 from HyukjinKwon/SPARK-48088-followup. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
What changes were proposed in this pull request?
This PR proposes to skip the tests that fail with 3.5 client and 4.0 server in Spark Connect (by adding
SPARK_SKIP_CONNECT_COMPAT_TESTS). This is a base work for #46298. This partially backports #45870This PR also adds
SPARK_CONNECT_TESTING_REMOTEenvironment variable so developers can run PySpark unittests against a Spark Connect server.Why are the changes needed?
In order to set up the CI that tests 3.5 client and 4.0 server in Spark Connect.
Does this PR introduce any user-facing change?
No, test-only.
How was this patch tested?
Tested it in my fork, see #46298
Was this patch authored or co-authored using generative AI tooling?
No.