[ 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org