zhengruifeng opened a new pull request, #47467: URL: https://github.com/apache/spark/pull/47467
### What changes were proposed in this pull request? `DefaultParamsReader/Writer` handle metadata with spark session ### Why are the changes needed? In existing ml implementations, when load a model, it loads the metadata with `SparkContext` then loads the coefficients with `SparkSession`. This PR aims to unify the model loading/saving with `SparkSession` only, by introducing new helper functions. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? CI ### Was this patch authored or co-authored using generative AI tooling? No -- 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]
