You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Max Gekk (Jira)" <ji...@apache.org> on 2022/10/24 05:39:00 UTC

[jira] [Created] (SPARK-40894) Introduce error sub-classes of the operation not allowed parse error

Max Gekk created SPARK-40894:
--------------------------------

             Summary: Introduce error sub-classes of the operation not allowed parse error
                 Key: SPARK-40894
                 URL: https://issues.apache.org/jira/browse/SPARK-40894
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 3.4.0
            Reporter: Max Gekk


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 ..."



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org