[ https://issues.apache.org/jira/browse/SPARK-41735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17681884#comment-17681884 ]
Apache Spark commented on SPARK-41735: -------------------------------------- User 'ulysses-you' has created a pull request for this issue: https://github.com/apache/spark/pull/39794 > Any SparkThrowable (with an error class) not in error-classes.json is masked > in SQLExecution.withNewExecutionId and end-user will see > "org.apache.spark.SparkException: [INTERNAL_ERROR]" > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ > > Key: SPARK-41735 > URL: https://issues.apache.org/jira/browse/SPARK-41735 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 3.4.0 > Reporter: Allison Portis > Priority: Major > > This change > [here|https://github.com/apache/spark/pull/38302/files#diff-fdd1e9e26aa1ba9d1cc923ee7c84a1935dcc285502330a471f1ade7f3ad08bf9] > means that any seen error is passed to SparkThrowableHelper.getMessage(...). > Any SparkThrowable with an error class (for example, if a connector uses the > spark error format i.e. see ErrorClassesJsonReader) will be masked as > {code:java} > org.apache.spark.SparkException: [INTERNAL_ERROR] Cannot find main error > class 'SOME_ERROR_CLASS'{code} > in SparkThrowableHelper.getMessage since > errorReader.getMessageTemplate(errorClass) will fail for the error class not > defined in error-classes.json. > -- 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