dusantism-db commented on code in PR #52371:
URL: https://github.com/apache/spark/pull/52371#discussion_r2359623320


##########
sql/core/src/main/scala/org/apache/spark/sql/scripting/SqlScriptingInterpreter.scala:
##########
@@ -88,7 +88,8 @@ case class SqlScriptingInterpreter(session: SparkSession) {
           context)
 
       // Execution node of handler.
-      val handlerScopeLabel = if (handler.handlerType == 
ExceptionHandlerType.EXIT) {
+      val handlerScopeLabel = if (handler.handlerType == 
ExceptionHandlerType.EXIT
+                                  || handler.handlerType == 
ExceptionHandlerType.CONTINUE) {

Review Comment:
   I don't get this change. We either leave the if as is or we remove the 
condition, as these are the only 2 possible handler types.
   
   Not sure if we need this label in a CONTINUE handler though, cc @miland-db 
what is this label used for again?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to