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/17 17:01:00 UTC
[jira] [Created] (SPARK-41182) Assign a name to the error class _LEGACY_ERROR_TEMP_1102
Max Gekk created SPARK-41182:
--------------------------------
Summary: Assign a name to the error class _LEGACY_ERROR_TEMP_1102
Key: SPARK-41182
URL: https://issues.apache.org/jira/browse/SPARK-41182
Project: Spark
Issue Type: Sub-task
Components: SQL
Affects Versions: 3.4.0
Reporter: Max Gekk
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