Ivan Jevtic created SPARK-49877:
-----------------------------------

             Summary: 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


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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to