miland-db commented on code in PR #53530:
URL: https://github.com/apache/spark/pull/53530#discussion_r2690639092
##########
sql/core/src/main/scala/org/apache/spark/sql/scripting/SqlScriptingExecutionNode.scala:
##########
@@ -329,6 +335,34 @@ class CompoundBodyExec(
@tailrec
override def next(): CompoundStatementExec = {
+ // If we need to return current without advancing (after CONTINUE
handler),
Review Comment:
Let's please test code without this `returnCurrentWithoutAdvancing` because
it would be much simpler to avoid implement another flag that needs to be
carefully tracked during script execution.
--
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]