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/08/26 07:33:00 UTC

[jira] [Resolved] (SPARK-40220) Don't output the empty map of error message parameters

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

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

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

> Don't output the empty map of error message parameters
> ------------------------------------------------------
>
>                 Key: SPARK-40220
>                 URL: https://issues.apache.org/jira/browse/SPARK-40220
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: Max Gekk
>            Assignee: Max Gekk
>            Priority: Major
>             Fix For: 3.4.0
>
>
> In the current implementation, Spark output empty message parameters in the MINIMAL and STANDARD formats:
> {code:json}
>  org.apache.spark.SparkRuntimeException
>  {
>   "errorClass" : "ELEMENT_AT_BY_INDEX_ZERO",
>   "messageParameters" : { }
>  }
> {code}
> that contradict w/ the approach for other JSON fields.



--
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