miland-db commented on code in PR #52371:
URL: https://github.com/apache/spark/pull/52371#discussion_r2388343224
##########
sql/core/src/main/scala/org/apache/spark/sql/scripting/SqlScriptingExecution.scala:
##########
@@ -86,6 +86,25 @@ class SqlScriptingExecution(
currExecPlan.curr = Some(new LeaveStatementExec(label))
}
+ /**
+ * Helper method to execute interrupts to ConditionalStatements.
+ * @param executionPlan Execution plan.
+ */
+ private def interruptConditionalStatements(executionPlan:
NonLeafStatementExec): Unit = {
+ // Go as deep as possible, to find a leaf node. Instead of a statement that
+ // should be executed next, skip a conditional statement in.
Review Comment:
nit: let's make this comment easier to understand, and format it properly
--
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]