[ https://issues.apache.org/jira/browse/SPARK-35679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Gekk resolved SPARK-35679. ------------------------------ Fix Version/s: 3.0.3 3.1.3 3.2.0 Resolution: Fixed Issue resolved by pull request 32839 [https://github.com/apache/spark/pull/32839] > Overflow on converting valid Timestamp to Microseconds > ------------------------------------------------------ > > Key: SPARK-35679 > URL: https://issues.apache.org/jira/browse/SPARK-35679 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 3.2.0 > Reporter: Gengliang Wang > Assignee: Apache Spark > Priority: Major > Fix For: 3.2.0, 3.1.3, 3.0.3 > > > {code:java} > scala> import org.apache.spark.sql.catalyst.util.DateTimeUtils._ > import org.apache.spark.sql.catalyst.util.DateTimeUtils._ > scala> instantToMicros(microsToInstant(Long.MinValue)) > java.lang.ArithmeticException: long overflow > at java.lang.Math.multiplyExact(Math.java:892) > at > org.apache.spark.sql.catalyst.util.DateTimeUtils$.instantToMicros(DateTimeUtils.scala:389) > ... 49 elided > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org