zhengruifeng opened a new pull request, #58151: URL: https://github.com/apache/spark/pull/58151
### What changes were proposed in this pull request? This PR replaces ad hoc UUID concatenation for Scala ML temporary and fallback column names with `Identifiable.randomUID(prefix)`. The updated paths cover classification/regression summary fallback output columns and `OneVsRestModel` intermediate columns. ### Why are the changes needed? Scala ML code already uses `Identifiable.randomUID` for collision-resistant generated names. Using it in these remaining column-name paths keeps the Scala side consistent and avoids direct `java.util.UUID` usage for temporary ML columns. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Manually checked with: ``` git diff --check grep -rn -P "[^\x00-\x7F]" mllib/src/main/scala/org/apache/spark/ml/classification/OneVsRest.scala mllib/src/main/scala/org/apache/spark/ml/classification/Classifier.scala mllib/src/main/scala/org/apache/spark/ml/classification/ProbabilisticClassifier.scala mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala mllib/src/main/scala/org/apache/spark/ml/regression/GeneralizedLinearRegression.scala ``` Unit tests were not run because this is a small internal refactor of generated column names. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Codex (GPT-5) -- 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]
