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

Test some subclasses of error class DATATYPE_MISMATCH

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • SQL, Tests
    • None

    Description

      include:

      1. DATATYPE_MISMATCH.BINARY_ARRAY_DIFF_TYPES
      2. DATATYPE_MISMATCH.CANNOT_CONVERT_TO_JSON
      3. DATATYPE_MISMATCH.FRAME_LESS_OFFSET_WITHOUT_FOLDABLE
      4. DATATYPE_MISMATCH.MAP_FROM_ENTRIES_WRONG_TYPE
      5. DATATYPE_MISMATCH.NON_STRING_TYPE
      6. DATATYPE_MISMATCH.NULL_TYPE
      7. DATATYPE_MISMATCH.SPECIFIED_WINDOW_FRAME_DIFF_TYPES
      8. DATATYPE_MISMATCH.SPECIFIED_WINDOW_FRAME_UNACCEPTED_TYPE (already exists)

      spark/sql/core/src/test/resources/sql-tests/results/window.sql.out Line 106 in 7009ef0

      "errorClass" : "DATATYPE_MISMATCH.SPECIFIED_WINDOW_FRAME_UNACCEPTED_TYPE",

            9. DATATYPE_MISMATCH.SPECIFIED_WINDOW_FRAME_WITHOUT_FOLDABLE

           10. DATATYPE_MISMATCH.UNSPECIFIED_FRAME

      Attachments

        Activity

          People

            panbingkun Pan Bingkun
            panbingkun Pan Bingkun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: