You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "BingKun Pan (Jira)" <ji...@apache.org> on 2022/11/18 07:45:00 UTC

[jira] (SPARK-41179) Assign a name to the error class _LEGACY_ERROR_TEMP_1092

    [ https://issues.apache.org/jira/browse/SPARK-41179 ]


    BingKun Pan deleted comment on SPARK-41179:
    -------------------------------------

was (Author: panbingkun):
I work on it

> Assign a name to the error class _LEGACY_ERROR_TEMP_1092
> --------------------------------------------------------
>
>                 Key: SPARK-41179
>                 URL: https://issues.apache.org/jira/browse/SPARK-41179
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: Max Gekk
>            Priority: Major
>
> Assign a proper name to the legacy error class _LEGACY_ERROR_TEMP_1092 and make it visible to users.
> The example below shows the issue:
> {code}
> > select from_json('{"a":1}', 1);
> org.apache.spark.sql.AnalysisException
> {
>   "errorClass" : "LEGACY",
>   "messageParameters" : {
>     "message" : "The expression '1' is not a valid schema string.; line 1 pos 7"
> ...
> {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