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

Wenchen Fan resolved SPARK-54558.
---------------------------------
    Fix Version/s: 4.1.0
         Assignee: Milan Dankovic
       Resolution: Fixed

> Fix Internal Exception when Exception Handlers with no BEGIN/END are used
> -------------------------------------------------------------------------
>
>                 Key: SPARK-54558
>                 URL: https://issues.apache.org/jira/browse/SPARK-54558
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Spark Core
>    Affects Versions: 4.0.0
>            Reporter: Milan Dankovic
>            Assignee: Milan Dankovic
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.1.0
>
>
> When Exception Handlers which don't have BEGIN-END body are triggered, 
> internal exception `java.util.NoSuchElementException` was thrown instead of 
> executing properly or propagating/raising the new error if it happens in 
> handler.
>  
>  
> {code:java}
> BEGIN
>   DECLARE EXIT HANDLER FOR SQLEXCEPTION
>     SELECT 1;
>   
>   SELECT 1/0;
> END {code}
>  
>  



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