From 32792f18b95d8cecb92cc5c0bf561b6d35dd310c Mon Sep 17 00:00:00 2001 From: "Robert (Bobby) Evans" Date: Thu, 2 Dec 2021 15:14:37 -0600 Subject: [PATCH] Add tests for timestamps that overflowed before. Signed-off-by: Robert (Bobby) Evans --- .../test/scala/com/nvidia/spark/rapids/CastOpSuite.scala | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/src/test/scala/com/nvidia/spark/rapids/CastOpSuite.scala b/tests/src/test/scala/com/nvidia/spark/rapids/CastOpSuite.scala index 938b830a6ec..d127b216888 100644 --- a/tests/src/test/scala/com/nvidia/spark/rapids/CastOpSuite.scala +++ b/tests/src/test/scala/com/nvidia/spark/rapids/CastOpSuite.scala @@ -1393,6 +1393,12 @@ object CastOpSuite { def validTimestamps(session: SparkSession): DataFrame = { import session.sqlContext.implicits._ val timestampStrings = Seq( + "8669-07-22T04:45:57.73", + "6233-08-04T19:30:55.701", + "8220-02-25T10:01:15.106", + "9754-01-21T16:53:02.137", + "7649-11-16T15:56:04.996", + "7027-04-09T15:08:52.627", "1920-12-31T11:59:59.999", "1969-12-31T23:59:59.999", "1969-12-31T23:59:59.999999",