You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "LuciferYang (via GitHub)" <gi...@apache.org> on 2025/11/03 07:22:07 UTC
Re: [PR] [SPARK-54149][SQL][SS][CONNECT] Enable tail-recursion wherever possible [spark]
LuciferYang commented on code in PR #52847:
URL: https://github.com/apache/spark/pull/52847#discussion_r2485530846
##########
sql/core/src/main/scala/org/apache/spark/sql/scripting/SqlScriptingExecutionNode.scala:
##########
@@ -309,7 +311,7 @@ class CompoundBodyExec(
!stopIteration && (localIterator.hasNext || childHasNext)
}
- @scala.annotation.tailrec
+ @tailrec
Review Comment:
There are multiple places in this file that require @scala.annotation.tailrec. Change it to a unified import.
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org