andygrove commented on code in PR #3541:
URL: https://github.com/apache/datafusion-comet/pull/3541#discussion_r2822926260
##########
spark/src/test/scala/org/apache/spark/sql/CometTestBase.scala:
##########
@@ -332,6 +332,38 @@ abstract class CometTestBase
}
}
+// inspired from spark-testing-base
+ protected def assertDataFrameEquals(
Review Comment:
Another option to look at:
```
scala> spark.sql("select a, cast(cast(a as timestamp) as string) from
t1").collect()
res3: Array[org.apache.spark.sql.Row] = Array([1,1969-12-31 17:00:01],
[10324234242,2297-02-28 03:50:42], [234234234234,9392-08-02 03:03:54],
[-9223372036854775808,-290308-12-21 12:59:09.224192])
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]