[ 
https://issues.apache.org/jira/browse/SPARK-37943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17486338#comment-17486338
 ] 

Saurabh Chawla commented on SPARK-37943:
----------------------------------------

[~maxgekk] - The entry for below grouping error already present in the 
error-classes
 * groupingIDMismatchError
 * groupingColInvalidError
 * groupingSizeTooLargeError

For this groupingMustWithGroupingSetsOrCubeOrRollupError there is no entry in 
the error-classes. Add the change for this 
([https://github.com/apache/spark/pull/35389])
 * groupingMustWithGroupingSetsOrCubeOrRollupError  -> 
UNSUPPORTED_GROUPING_EXPRESSION

 

> Use error classes in the compilation errors of grouping
> -------------------------------------------------------
>
>                 Key: SPARK-37943
>                 URL: https://issues.apache.org/jira/browse/SPARK-37943
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.3.0
>            Reporter: Max Gekk
>            Assignee: Apache Spark
>            Priority: Major
>
> Migrate the following errors in QueryCompilationErrors:
> * groupingIDMismatchError
> * groupingColInvalidError
> * groupingSizeTooLargeError
> * groupingMustWithGroupingSetsOrCubeOrRollupError
> 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

Reply via email to