[
https://issues.apache.org/jira/browse/SPARK-49877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Max Gekk reassigned SPARK-49877:
--------------------------------
Assignee: Ivan Jevtic
> 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
>
> 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]