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/10 22:25:00 UTC

[jira] [Created] (SPARK-45493) Replace: _LEGACY_ERROR_TEMP_2187 with a better error message

Serge Rielau created SPARK-45493:
------------------------------------

             Summary: Replace: _LEGACY_ERROR_TEMP_2187 with a better error message
                 Key: SPARK-45493
                 URL: https://issues.apache.org/jira/browse/SPARK-45493
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
    Affects Versions: 4.0.0
            Reporter: Serge Rielau


{code:java}
def convertHiveTableToCatalogTableError(
    e: SparkException, dbName: String, tableName: String): Throwable = {
  new SparkException(
    errorClass = "_LEGACY_ERROR_TEMP_2187",
    messageParameters = Map(
      "message" -> e.getMessage,
      "dbName" -> dbName,
      "tableName" -> tableName),
    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