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/03/08 21:42:00 UTC

[jira] [Created] (SPARK-27109) Refactoring of TimestampFormatter and DateFormatter

Maxim Gekk created SPARK-27109:
----------------------------------

             Summary: Refactoring of TimestampFormatter and DateFormatter
                 Key: SPARK-27109
                 URL: https://issues.apache.org/jira/browse/SPARK-27109
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.4.0
            Reporter: Maxim Gekk


* Date/TimestampFormatter converts parsed input to Instant before converting it to days/micros. This is unnecessary conversion because seconds and fraction of second can be extracted (calculated) from ZoneDateTime directly
 * Avoid additional extraction of TemporalQueries.localTime from temporalAccessor



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