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/09/17 07:01:00 UTC

[jira] [Assigned] (SPARK-29074) Optimize `date_format` for foldable `fmt`

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

Hyukjin Kwon reassigned SPARK-29074:
------------------------------------

    Assignee: Maxim Gekk

> Optimize `date_format` for foldable `fmt`
> -----------------------------------------
>
>                 Key: SPARK-29074
>                 URL: https://issues.apache.org/jira/browse/SPARK-29074
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Maxim Gekk
>            Assignee: Maxim Gekk
>            Priority: Minor
>
> The DateFormatClass ([https://github.com/apache/spark/blob/67b4329fb08fd606461aa1ac9274c4a84d15d70e/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/datetimeExpressions.scala#L583]) could create the TimestampFormatter only once at the initialization, and reuse it inĀ nullSafeEval() and inĀ doGenCode().



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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