[ 
https://issues.apache.org/jira/browse/SPARK-29416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongjoon Hyun resolved SPARK-29416.
-----------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

Issue resolved by pull request 26073
[https://github.com/apache/spark/pull/26073]

> 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
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> {{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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to