You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Serge Rielau (Jira)" <ji...@apache.org> on 2023/10/11 20:24:00 UTC

[jira] [Resolved] (SPARK-45490) Replace: _LEGACY_ERROR_TEMP_2151 with a proper error class

     [ https://issues.apache.org/jira/browse/SPARK-45490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Serge Rielau resolved SPARK-45490.
----------------------------------
    Resolution: Cannot Reproduce

Seems to have been implemented as: EXPRESSION_DECODING_FAILED

> Replace: _LEGACY_ERROR_TEMP_2151 with a proper error class
> ----------------------------------------------------------
>
>                 Key: SPARK-45490
>                 URL: https://issues.apache.org/jira/browse/SPARK-45490
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 4.0.0
>            Reporter: Serge Rielau
>            Priority: Major
>
> {code:java}
> def expressionDecodingError(e: Exception, expressions: Seq[Expression]): SparkRuntimeException = {
>   new SparkRuntimeException(
>     errorClass = "_LEGACY_ERROR_TEMP_2151",
>     messageParameters = Map(
>       "e" -> e.toString(),
>       "expressions" -> expressions.map(
>         _.simpleString(SQLConf.get.maxToStringFields)).mkString("\n")),
>     cause = e)
> } {code}



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