You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2020/05/31 20:21:00 UTC

[jira] [Assigned] (SPARK-31878) Create date formatter only once in HiveResult

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

Apache Spark reassigned SPARK-31878:
------------------------------------

    Assignee:     (was: Apache Spark)

> Create date formatter only once in HiveResult
> ---------------------------------------------
>
>                 Key: SPARK-31878
>                 URL: https://issues.apache.org/jira/browse/SPARK-31878
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.0, 3.1.0
>            Reporter: Maxim Gekk
>            Priority: Major
>
> Currently, dateFormatter in HiveResult is created per every date value to be sure that catches zone id but this is not necessary because date formatter doesn't depend on any time zone. Time zone is needed only for parsing. So, dateFormatter can be created only once. The ticket aims to changeĀ *def dateFormatter* to *val dateFormatter*.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org