Max Gekk created SPARK-38110: -------------------------------- Summary: Use error classes in the compilation errors of windows Key: SPARK-38110 URL: https://issues.apache.org/jira/browse/SPARK-38110 Project: Spark Issue Type: Sub-task Components: SQL Affects Versions: 3.3.0 Reporter: Max Gekk
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. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org