You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2020/06/29 04:50:00 UTC
[jira] [Resolved] (SPARK-32090) UserDefinedType.equal() does not
have symmetry
[ https://issues.apache.org/jira/browse/SPARK-32090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun resolved SPARK-32090.
-----------------------------------
Fix Version/s: 3.1.0
Resolution: Fixed
Issue resolved by pull request 28923
[https://github.com/apache/spark/pull/28923]
> UserDefinedType.equal() does not have symmetry
> -----------------------------------------------
>
> Key: SPARK-32090
> URL: https://issues.apache.org/jira/browse/SPARK-32090
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.1.1, 2.2.0, 2.3.0, 2.4.0, 3.0.0
> Reporter: wuyi
> Assignee: wuyi
> Priority: Major
> Fix For: 3.1.0
>
>
> ExampleSubTypeUDT.userClass is a subclass of ExampleBaseTypeUDT.userClass
> val udt1 = new ExampleBaseTypeUDT
> val udt2 = new ExampleSubTypeUDT
> println(udt1 == udt2) // true
> println(udt2 == udt1) // false
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org