maropu commented on a change in pull request #28923:
URL: https://github.com/apache/spark/pull/28923#discussion_r445254621
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/UserDefinedTypeSuite.scala
##########
@@ -134,6 +134,17 @@ class UserDefinedTypeSuite extends QueryTest with
SharedSparkSession with Parque
MyLabeledPoint(1.0, new TestUDT.MyDenseVector(Array(0.1, 1.0))),
MyLabeledPoint(0.0, new TestUDT.MyDenseVector(Array(0.3, 3.0)))).toDF()
+
+ test("equal") {
+ val udt1 = new ExampleBaseTypeUDT
+ val udt2 = new ExampleSubTypeUDT
+ val udt3 = new ExampleSubTypeUDT
+ assert(!(udt1 === udt2))
Review comment:
nit: `!==`?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]