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

Assign a name to the error class _LEGACY_ERROR_TEMP_1102

    XMLWordPrintableJSON

Details

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

    Description

      Assign a proper name to the legacy error class _LEGACY_ERROR_TEMP_1102 and make it visible to users.

      The example below shows the issue:

      > select extract(not_supported from c) from t;
      
      org.apache.spark.sql.AnalysisException
      {
        "errorClass" : "LEGACY",
        "messageParameters" : {
          "message" : "Literals of type 'not_supported' are currently not supported for the string type.; line 1 pos 7"
        }
      }
      

      Attachments

        Issue Links

          Activity

            People

              panbingkun BingKun Pan
              maxgekk Max Gekk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: