You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/01/21 18:37:00 UTC

[jira] [Resolved] (SPARK-26652) Use Proleptic Gregorian calendar in creation of Timestamp/Date literals from strings

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

Hyukjin Kwon resolved SPARK-26652.
----------------------------------
          Resolution: Fixed
            Assignee: Maxim Gekk
    Target Version/s: 3.0.0

Fixed in https://github.com/apache/spark/pull/23603 by removing the unused functions.

> Use Proleptic Gregorian calendar in creation of Timestamp/Date literals from strings
> ------------------------------------------------------------------------------------
>
>                 Key: SPARK-26652
>                 URL: https://issues.apache.org/jira/browse/SPARK-26652
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 2.4.0
>            Reporter: Maxim Gekk
>            Assignee: Maxim Gekk
>            Priority: Minor
>
> Currently the Literal.fromString method uses Date.valueOf and Timestamp.valueOf to parse a string and create Timestamp/Date literals. The ticket aims to switch the method on java.time classes for parsing. A solution could be using TimestampFormatter & DateFormatter.



--
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