You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Maxim Gekk (JIRA)" <ji...@apache.org> on 2019/01/17 20:54:00 UTC
[jira] [Created] (SPARK-26652) Use Proleptic Gregorian calendar in
creation of Timestamp/Date literals from strings
Maxim Gekk created SPARK-26652:
----------------------------------
Summary: 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
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