wuyi created SPARK-32090:
----------------------------

             Summary: 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: 3.0.0, 2.4.0, 2.3.0, 2.2.0, 2.1.1
            Reporter: wuyi


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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to