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

Refactor first set of 20 query execution errors to use error classes

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete CommentsDelete
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.3.0
    • Spark Core, SQL
    • None

    Description

      Refactor some exceptions in QueryExecutionErrors to use error classes.

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

      columnChangeUnsupportedError
      logicalHintOperatorNotRemovedDuringAnalysisError
      cannotEvaluateExpressionError
      cannotGenerateCodeForExpressionError
      cannotTerminateGeneratorError
      castingCauseOverflowError
      cannotChangeDecimalPrecisionError
      invalidInputSyntaxForNumericError
      cannotCastFromNullTypeError
      cannotCastError
      cannotParseDecimalError
      simpleStringWithNodeIdUnsupportedError
      evaluateUnevaluableAggregateUnsupportedError
      dataTypeUnsupportedError
      dataTypeUnsupportedError
      failedExecuteUserDefinedFunctionError
      divideByZeroError
      invalidArrayIndexError
      mapKeyNotExistError
      rowFromCSVParserNotExpectedError
      

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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            xiaopenglei PengLei Assign to me
            karenfeng Karen Feng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment