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

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.2.0
    • Fix Version/s: None
    • Component/s: SQL
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              beliefer jiaan.geng
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: