wbo4958 commented on code in PR #49581: URL: https://github.com/apache/spark/pull/49581#discussion_r1923064064
########## mllib-local/src/main/scala/org/apache/spark/ml/linalg/Vectors.scala: ########## @@ -240,6 +240,8 @@ sealed trait Vector extends Serializable { @Since("2.0.0") object Vectors { + private[ml] val empty: Vector = zeros(0) Review Comment: Probably, we can change it later. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org