Bobby Wang created SPARK-50844: ---------------------------------- Summary: make ML model to be loaded by ServiceLoader Key: SPARK-50844 URL: https://issues.apache.org/jira/browse/SPARK-50844 Project: Spark Issue Type: Sub-task Components: Connect, ML Affects Versions: 4.0.0, 4.1 Reporter: Bobby Wang
Currently, Since most of models from Spark.ml doesn't have a public no-arguments constructor which results in the model couldn't be loaded by ServiceLoader. Currently, in order to load a model in connect ML, we're using reflection way which seems a little bit of unsafe. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org