[jira] [Assigned] (SPARK-36448) Exceptions in NoSuchItemException.scala have to be case classes to preserve specific exceptions

2021-08-20 Thread Wenchen Fan (Jira)


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

Wenchen Fan reassigned SPARK-36448:
---

Assignee: Yesheng Ma

> Exceptions in NoSuchItemException.scala have to be case classes to preserve 
> specific exceptions
> ---
>
> Key: SPARK-36448
> URL: https://issues.apache.org/jira/browse/SPARK-36448
> Project: Spark
>  Issue Type: Bug
>  Components: SQL
>Affects Versions: 3.1.2
>Reporter: Yesheng Ma
>Assignee: Yesheng Ma
>Priority: Major
>
> Exceptions in NoSuchItemException.scala are not case classes. This is causing 
> issues because in Analyzer's 
> [executeAndCheck|https://github.com/apache/spark/blob/888f8f03c89ea7ee8997171eadf64c87e17c4efe/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala#L196-L199]
>  method always calls the `copy` method on the exception. However, since these 
> exceptions are not case classes, the `copy` method was always delegated to 
> `AnalysisException::copy`, which is not the specialized version



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

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



[jira] [Assigned] (SPARK-36448) Exceptions in NoSuchItemException.scala have to be case classes to preserve specific exceptions

2021-08-06 Thread Apache Spark (Jira)


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

Apache Spark reassigned SPARK-36448:


Assignee: Apache Spark

> Exceptions in NoSuchItemException.scala have to be case classes to preserve 
> specific exceptions
> ---
>
> Key: SPARK-36448
> URL: https://issues.apache.org/jira/browse/SPARK-36448
> Project: Spark
>  Issue Type: Bug
>  Components: SQL
>Affects Versions: 3.1.2
>Reporter: Yesheng Ma
>Assignee: Apache Spark
>Priority: Major
>
> Exceptions in NoSuchItemException.scala are not case classes. This is causing 
> issues because in Analyzer's 
> [executeAndCheck|https://github.com/apache/spark/blob/888f8f03c89ea7ee8997171eadf64c87e17c4efe/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala#L196-L199]
>  method always calls the `copy` method on the exception. However, since these 
> exceptions are not case classes, the `copy` method was always delegated to 
> `AnalysisException::copy`, which is not the specialized version



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

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



[jira] [Assigned] (SPARK-36448) Exceptions in NoSuchItemException.scala have to be case classes to preserve specific exceptions

2021-08-06 Thread Apache Spark (Jira)


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

Apache Spark reassigned SPARK-36448:


Assignee: (was: Apache Spark)

> Exceptions in NoSuchItemException.scala have to be case classes to preserve 
> specific exceptions
> ---
>
> Key: SPARK-36448
> URL: https://issues.apache.org/jira/browse/SPARK-36448
> Project: Spark
>  Issue Type: Bug
>  Components: SQL
>Affects Versions: 3.1.2
>Reporter: Yesheng Ma
>Priority: Major
>
> Exceptions in NoSuchItemException.scala are not case classes. This is causing 
> issues because in Analyzer's 
> [executeAndCheck|https://github.com/apache/spark/blob/888f8f03c89ea7ee8997171eadf64c87e17c4efe/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala#L196-L199]
>  method always calls the `copy` method on the exception. However, since these 
> exceptions are not case classes, the `copy` method was always delegated to 
> `AnalysisException::copy`, which is not the specialized version



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

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