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

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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.2.0
    • None
    • SQL
    • None

    Description

      Refactor some exceptions in QueryCompilationErrors to use error classes.

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

      nestedGeneratorError
      moreThanOneGeneratorError
      generatorOutsideSelectError
      legacyStoreAssignmentPolicyError
      unresolvedUsingColForJoinError
      dataTypeMismatchForDeserializerError
      fieldNumberMismatchForDeserializerError
      upCastFailureError
      unsupportedAbstractDataTypeForUpCastError
      outerScopeFailureForNewInstanceError
      referenceColNotFoundForAlterTableChangesError
      windowSpecificationNotDefinedError
      selectExprNotInGroupByError
      groupingMustWithGroupingSetsOrCubeOrRollupError
      pandasUDFAggregateNotSupportedInPivotError
      aggregateExpressionRequiredForPivotError
      writeIntoTempViewNotAllowedError
      expectTableOrPermanentViewNotTempViewError
      readNonStreamingTempViewError
      viewDepthExceedsMaxResolutionDepthError
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            beliefer Jiaan Geng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: