[
https://issues.apache.org/jira/browse/SPARK-9793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joseph K. Bradley updated SPARK-9793:
-------------------------------------
Comment: was deleted
(was: I agree, we can. However, we should be careful to make sure the
{{__hash__}} method matches the semantics:
[https://docs.python.org/2/reference/datamodel.html#object.__hash__])
> PySpark DenseVector, SparseVector should override __eq__
> --------------------------------------------------------
>
> Key: SPARK-9793
> URL: https://issues.apache.org/jira/browse/SPARK-9793
> Project: Spark
> Issue Type: Bug
> Components: ML, PySpark
> Affects Versions: 1.5.0
> Reporter: Joseph K. Bradley
> Priority: Critical
>
> See [SPARK-9750].
> PySpark DenseVector and SparseVector do not override the equality operator
> properly. They should use semantics, not representation, for comparison.
> (This is what Scala currently does.)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]