Tanel Kiis created SPARK-46070: ---------------------------------- Summary: 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
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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org