Sean R. Owen created SPARK-29416:
------------------------------------

             Summary: Replace Array.deep comparisons with Array.sameElements
                 Key: SPARK-29416
                 URL: https://issues.apache.org/jira/browse/SPARK-29416
             Project: Spark
          Issue Type: Sub-task
          Components: ML, Spark Core, SQL
    Affects Versions: 3.0.0
            Reporter: Sean R. Owen
            Assignee: Sean R. Owen


{{Array.deep}} no longer exists in scala 2.13. It is used sometimes in the code 
to compare the elements of two arrays, as {{==}} tests only reference equality. 
However {{sameElements}} is better anyway. In cases involving nested arrays we 
might have to manually compare the sub-arrays though.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to