Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-37935 Migrate onto error classes
  3. SPARK-40220

Don't output the empty map of error message parameters

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • SQL
    • None

    Description

      In the current implementation, Spark output empty message parameters in the MINIMAL and STANDARD formats:

       org.apache.spark.SparkRuntimeException
       {
        "errorClass" : "ELEMENT_AT_BY_INDEX_ZERO",
        "messageParameters" : { }
       }
      

      that contradict w/ the approach for other JSON fields.

      Attachments

        Activity

          People

            maxgekk Max Gekk
            maxgekk Max Gekk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: