[ 
https://issues.apache.org/jira/browse/SPARK-54558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18041897#comment-18041897
 ] 

Milan Dankovic commented on SPARK-54558:
----------------------------------------

I am working on this.

> 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
>            Priority: Major
>
> 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