Skip to content

Commit

Permalink
Add tests for timestamps that overflowed before. (NVIDIA#4274)
Browse files Browse the repository at this point in the history
Signed-off-by: Robert (Bobby) Evans <[email protected]>
  • Loading branch information
revans2 authored and Chong Gao committed Dec 6, 2021
1 parent 15c40ac commit fe1f955
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit fe1f955

Please sign in to comment.