You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2019/04/09 22:44:00 UTC
[jira] [Resolved] (SPARK-27401) Refactoring conversion of
Date/Timestamp to/from java.sql.Date/Timestamp
[ https://issues.apache.org/jira/browse/SPARK-27401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun resolved SPARK-27401.
-----------------------------------
Resolution: Fixed
Assignee: Maxim Gekk
Fix Version/s: 3.0.0
This is resolved via https://github.com/apache/spark/pull/24311
> Refactoring conversion of Date/Timestamp to/from java.sql.Date/Timestamp
> ------------------------------------------------------------------------
>
> Key: SPARK-27401
> URL: https://issues.apache.org/jira/browse/SPARK-27401
> 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 fromJavaTimestamp/toJavaTimestamp and toJavaDate/fromJavaDate can be implemented using existing methods DateTimeUtils like instantToMicros/microsToInstant and daysToLocalDate/localDateToDays. This should allow:
> # To avoid invocation of millisToDays and time zone offset calculation
> # To simplify implementation of toJavaTimestamp, and properly handle negative inputs
> # Detect arithmetic overflow of Long
--
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