cloud-fan commented on a change in pull request #32839: URL: https://github.com/apache/spark/pull/32839#discussion_r648799671
########## File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/DateTimeUtils.scala ########## @@ -378,16 +378,26 @@ object DateTimeUtils { throw QueryExecutionErrors.cannotCastUTF8StringToDataTypeError(s, TimestampType) } } + // See issue SPARK-35679 + // LongMinValueDividedByMicroPerSecond is equal to + // Math.floorDiv(Long.MinValue, MICROS_PER_SECOND) + // which is -9223372036855L + private final val LongMinValueDividedByMicroPerSecond = -9223372036855L Review comment: `private val MIN_SECONDS = Math.floorDiv(Long.MinValue, MICROS_PER_SECOND)` -- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org