Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.4.0
-
None
-
None
Description
Add an error class for operationNotAllowed() and sub-classes instead of passing error text. For instance,
https://github.com/apache/spark/blob/933dc0c42f0caf74aaa077fd4f2c2e7208452b9b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala#L3042
pass an error sub-class + message parameters instead of the text "Column ordering must be ASC, was ..."