[
https://issues.apache.org/jira/browse/SPARK-46070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Max Gekk reassigned SPARK-46070:
--------------------------------
Assignee: Tanel Kiis
> Precompile regex patterns in SparkDateTimeUtils.getZoneId
> ---------------------------------------------------------
>
> Key: SPARK-46070
> URL: https://issues.apache.org/jira/browse/SPARK-46070
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.5.0
> Reporter: Tanel Kiis
> Assignee: Tanel Kiis
> Priority: Major
> Labels: pull-request-available
>
> SparkDateTimeUtils.getZoneId uses String.replaceFirst method, that internally
> does a Pattern.compile(regex). This method is called once for each dataset
> row when using functions like from_utc_timestamp.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]