Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-36094 Group SQL component error messages in Spark error class JSON file
  3. SPARK-36307

Refactor second set of 20 query parsing errors to use error classes

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.2.0
    • Fix Version/s: None
    • Component/s: Spark Core, SQL
    • Labels:
      None

      Description

      Refactor some exceptions in QueryParsingErrors to use error classes.

      There are currently ~100 exceptions in this file; so this PR only focuses on the first set of 20.

      repetitiveWindowDefinitionError
      invalidWindowReferenceError
      cannotResolveWindowReferenceError
      joinCriteriaUnimplementedError
      naturalCrossJoinUnsupportedError
      emptyInputForTableSampleError
      tableSampleByBytesUnsupportedError
      invalidByteLengthLiteralError
      invalidEscapeStringError
      trimOptionUnsupportedError
      functionNameUnsupportedError
      cannotParseValueTypeError
      cannotParseIntervalValueError
      literalValueTypeUnsupportedError
      parsingValueTypeError
      invalidNumericLiteralRangeError
      moreThanOneFromToUnitInIntervalLiteralError
      invalidIntervalLiteralError
      invalidIntervalFormError
      invalidFromToUnitValueError
      

      For more detail, see the parent ticket SPARK-36094.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              karenfeng Karen Feng
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: