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/10 02:35:00 UTC

[jira] [Resolved] (SPARK-26546) Caching of DateTimeFormatter

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

Hyukjin Kwon resolved SPARK-26546.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

Issue resolved by pull request 23462
[https://github.com/apache/spark/pull/23462]

> Caching of DateTimeFormatter
> ----------------------------
>
>                 Key: SPARK-26546
>                 URL: https://issues.apache.org/jira/browse/SPARK-26546
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Maxim Gekk
>            Assignee: Maxim Gekk
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> Currently, instances of java.time.format.DateTimeFormatter are built each time when new instance of Iso8601DateFormatter or Iso8601TimestampFormatter is created which is time consuming operation because it should parse the timestamp/date patterns. It could be useful to create a cache with key = (pattern, locale) and value = instance of java.time.format.DateTimeFormatter.



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