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

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

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

Max Gekk resolved SPARK-41179.
------------------------------
    Fix Version/s: 3.4.0
       Resolution: Fixed

Issue resolved by pull request 38710
[https://github.com/apache/spark/pull/38710]

> 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
>            Assignee: BingKun Pan
>            Priority: Major
>             Fix For: 3.4.0
>
>
> 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