HyukjinKwon opened a new pull request, #638: URL: https://github.com/apache/spark-connect-rust/pull/638
### What changes were proposed in this pull request? A follow-up to #616 from its post-merge review, split out of the closed #634. The ML live tests picked their class with helpers that fell back to the official `pyspark.ml` class when the native import failed. So a build that lacked a native class silently tested the official class instead. They now pick it with one helper, `python/tests/_native_classes.py`. In this client it returns the native class or fails. Official PySpark, which has no `pyspark._pyspark`, still runs the tests with its own class as the reference. ### Why are the changes needed? So that the live tests exercise the native implementations, as the review of #634 asked. ### Does this PR introduce _any_ user-facing change? No. Tests only. ### How was this patch tested? - The eight ML live test files that use the helper: 159 passed against a Spark 4.3.0 Connect server, and the ML subset of `test_dropin_e2e.py`: 10 passed. - Two of them run on the official `pyspark-client` 4.3.0, which uses its own classes: 44 passed. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Opus 5.5 This pull request and its description were written by Isaac. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
