You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Karen Feng (Jira)" <ji...@apache.org> on 2021/07/15 03:25:00 UTC

[jira] [Updated] (SPARK-36106) Refactor a few query compilation errors to use error classes

     [ https://issues.apache.org/jira/browse/SPARK-36106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karen Feng updated SPARK-36106:
-------------------------------
    Description: 
Refactor some exceptions in [QueryCompilationErrors|https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryCompilationErrors.scala] to use error classes.

There are currently ~450 exceptions in this file, so this PR only refactors a few as an example.

  was:
Add error classes to [QueryCompilationErrors|https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryCompilationErrors.scala].

There are currently ~450 exceptions in this file; the work on this should be broken up into multiple PRs. Comment to place a lock on this ticket.

For more detail, see the parent ticket [SPARK-36094|https://issues.apache.org/jira/browse/SPARK-36094].

        Summary: Refactor a few query compilation errors to use error classes  (was: Add subset of error classes to QueryCompilationErrors)

> Refactor a few query compilation errors to use error classes
> ------------------------------------------------------------
>
>                 Key: SPARK-36106
>                 URL: https://issues.apache.org/jira/browse/SPARK-36106
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Spark Core, SQL
>    Affects Versions: 3.2.0
>            Reporter: Karen Feng
>            Assignee: Karen Feng
>            Priority: Major
>             Fix For: 3.2.0
>
>
> Refactor some exceptions in [QueryCompilationErrors|https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryCompilationErrors.scala] to use error classes.
> There are currently ~450 exceptions in this file, so this PR only refactors a few as an example.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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