HyukjinKwon opened a new pull request, #719:
URL: https://github.com/apache/spark-connect-rust/pull/719

   ### What changes were proposed in this pull request?
   
   This follow-up of SPARK-61737 tests that every object the client makes for 
the native feature, fpm, recommendation and evaluation classes is of the public 
class of its module. That covers stages, copies, loads, every form of fit, the 
models of the class methods, and FPGrowth, PrefixSpan and ALS. Statistics' 
`SummaryBuilder` is checked too.
   
   It also tests that the `Pipeline` of `pyspark.ml` fits, saves and loads 
native feature stages. The same goes for its `CrossValidator` and 
`TrainValidationSplit` over a native `ALS` and `RegressionEvaluator`.
   
   ### Why are the changes needed?
   
   SPARK-61737 makes the native classes subclasses of PySpark's classes; these 
tests cover its object paths in these areas. Before it, the `Pipeline` save 
failed with "stage ... is not MLWritable".
   
   ### Does this PR introduce _any_ user-facing change?
   
   No, only tests and a docs note about them.
   
   ### How was this patch tested?
   
   The new tests pass on this client and on the official `pyspark-client` 
4.3.0, against Spark 4.3.0.
   
   ### 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]

Reply via email to