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

2020-05-15 Thread Holden Karau (Jira)


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

Holden Karau updated SPARK-26908:
-
Fix Version/s: (was: 2.4.7)
   2.4.6

> 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: 2.4.6, 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
(v8.3.4#803005)

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



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

2020-05-07 Thread Holden Karau (Jira)


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

Holden Karau updated SPARK-26908:
-
Fix Version/s: (was: 2.4.6)
   2.4.7

> 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, 2.4.7
>
>
> 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
(v8.3.4#803005)

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



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

2020-05-07 Thread Wenchen Fan (Jira)


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

Wenchen Fan updated SPARK-26908:

Fix Version/s: 2.4.6

> 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: 2.4.6, 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
(v8.3.4#803005)

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