You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Uros Stankovic (Jira)" <ji...@apache.org> on 2024/06/27 12:17:00 UTC
[jira] [Created] (SPARK-48737) Reduce number of exception creations for default expression analysis
Uros Stankovic created SPARK-48737:
--------------------------------------
Summary: Reduce number of exception creations for default expression analysis
Key: SPARK-48737
URL: https://issues.apache.org/jira/browse/SPARK-48737
Project: Spark
Issue Type: Task
Components: Spark Core
Affects Versions: 4.0.0, 3.5.2
Reporter: Uros Stankovic
Fix For: 4.0.0
When resolving of default value being done in method _resolveColumnDefaultInAssignmentValue,_ exception that should be thrown in case default value is not resolvable is created in any case (positive or negative outcome), but exception creation can be expensive (because reading error-classes file to get exception message) we should avoid it and create exception only when it is needed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org