You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2019/02/23 17:36:00 UTC

[jira] [Resolved] (SPARK-26908) Fix toMillis

     [ https://issues.apache.org/jira/browse/SPARK-26908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved SPARK-26908.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

Issue resolved by pull request 23815
[https://github.com/apache/spark/pull/23815]

> Fix toMillis
> ------------
>
>                 Key: SPARK-26908
>                 URL: https://issues.apache.org/jira/browse/SPARK-26908
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.4.0
>            Reporter: Maxim Gekk
>            Assignee: Maxim Gekk
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> The toMillis() method of the DateTimeUtils object can produce inaccurate result for some negative values. Minor differences can be around 1 ms. For example:
> {code}
> input = -9223372036844776001L
> {code}
> should be converted to -9223372036844777L



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org