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

Use error classes in the compilation errors of windows

    XMLWordPrintableJSON

Details

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

    Description

      Migrate the following errors in QueryCompilationErrors:

      • windowSpecificationNotDefinedError
      • windowAggregateFunctionWithFilterNotSupportedError
      • windowFunctionInsideAggregateFunctionNotAllowedError
      • expressionWithoutWindowExpressionError
      • expressionWithMultiWindowExpressionsError
      • windowFunctionNotAllowedError
      • cannotSpecifyWindowFrameError
      • windowFrameNotMatchRequiredFrameError
      • windowFunctionWithWindowFrameNotOrderedError
      • multiTimeWindowExpressionsNotSupportedError
      • sessionWindowGapDurationDataTypeError
      • invalidLiteralForWindowDurationError
      • emptyWindowExpressionError
      • foundDifferentWindowFunctionTypeError

      onto use error classes. Throw an implementation of SparkThrowable. Also write a test per every error in QueryCompilationErrorsSuite.

      Feel free to split this to sub-tasks.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              maxgekk Max Gekk
              Max Gekk Max Gekk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: