You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Vladimir Golubev (Jira)" <ji...@apache.org> on 2024/05/03 12:34:00 UTC

[jira] [Created] (SPARK-48114) ErrorClassesJsonReader complies template regex on every template resolution

Vladimir Golubev created SPARK-48114:
----------------------------------------

             Summary: ErrorClassesJsonReader complies template regex on every template resolution
                 Key: SPARK-48114
                 URL: https://issues.apache.org/jira/browse/SPARK-48114
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
    Affects Versions: 4.0.0
            Reporter: Vladimir Golubev


`SparkRuntimeException` uses `SparkThrowableHelper`, which uses `ErrorClassesJsonReader` to create error message string from templates in `error-conditions.json`, but template regex is compiled on every `SparkRuntimeException` constructor invocation.



--
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