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 2018/12/20 22:08:00 UTC

[jira] [Created] (SPARK-26424) Use java.time API in timestamp/date function

Maxim Gekk created SPARK-26424:
----------------------------------

             Summary: Use java.time API in timestamp/date function 
                 Key: SPARK-26424
                 URL: https://issues.apache.org/jira/browse/SPARK-26424
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.4.0
            Reporter: Maxim Gekk


Currently, date/time expressions like DateFormatClass, UnixTimestamp, FromUnixTime use SimpleDateFormat to parse/format dates and timestamps. SimpleDateFormat cannot parse timestamp with microsecond precision. The ticket aims to switch the expression on TimestampFormatter which is able to parse timestamp with microsecond precision.



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