srielau commented on code in PR #53530:
URL: https://github.com/apache/spark/pull/53530#discussion_r2692034652
##########
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:
@miland-db Actually that code tunred out to be crucial. Without it I get:
"No more elements" internal error.
--
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]