Github user mengxr commented on a diff in the pull request:
https://github.com/apache/spark/pull/5048#discussion_r26516446
--- Diff: mllib/src/main/scala/org/apache/spark/mllib/linalg/Matrices.scala
---
@@ -431,6 +515,13 @@ class SparseMatrix(
}
}
+ override def equals(o: Any) = o match {
--- End diff --
We need to override hashCode too. Let's move this out to another PR (with
hashCode). We can merge that one first and then this UDT PR.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]