Maxim Gekk created SPARK-30925:
----------------------------------
Summary: Overflow/round errors in conversions of milliseconds
to/from microseconds
Key: SPARK-30925
URL: https://issues.apache.org/jira/browse/SPARK-30925
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 3.0.0
Reporter: Maxim Gekk
Spark has special methods in DataTimeUtils for converting microseconds from/to
milliseconds - `fromMillis` and `toMillis()`. The methods handle arithmetic
overflow and round negative values. The ticket aims to review all places in
Spark SQL where microseconds are converted from/to milliseconds, and replace
them by util methods from DateTimeUtils.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]