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

Max Gekk resolved SPARK-49877.
------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Issue resolved by pull request 48351
[https://github.com/apache/spark/pull/48351]

> Change classifyException function signature: add isRuntime argument
> -------------------------------------------------------------------
>
>                 Key: SPARK-49877
>                 URL: https://issues.apache.org/jira/browse/SPARK-49877
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.5.3
>            Reporter: Ivan Jevtic
>            Assignee: Ivan Jevtic
>            Priority: Major
>             Fix For: 4.0.0
>
>
> We want to change the signature of the 
> [{*}classifyException{*}|https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/jdbc/JdbcDialects.scala#L746]
>  function, so that it can return either AnalysisException or 
> SparkRuntimeException. For this we should add a parameter *isRuntime* in the 
> function signature, and change the return value to {*}Throwable with 
> SparkThrowable{*}.
> *classifyException* currently returns AnalysisException. We want to be able 
> to call it from the execution part of the code, and get SparkRuntimeException.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to