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 16:56:00 UTC

[jira] [Created] (SPARK-41181) Migrate the map options onto error classes

Max Gekk created SPARK-41181:
--------------------------------

             Summary: Migrate the map options onto error classes
                 Key: SPARK-41181
                 URL: https://issues.apache.org/jira/browse/SPARK-41181
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 3.4.0
            Reporter: Max Gekk


The example below demonstrates the issue:

{code}
> select from_csv('1', 'a INT', named_struct('mode', 'PERMISSIVE'))

org.apache.spark.sql.AnalysisException
{
  "errorClass" : "LEGACY",
  "messageParameters" : {
    "message" : "Must use a map() function for options.; 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