miland-db commented on code in PR #49006:
URL: https://github.com/apache/spark/pull/49006#discussion_r1880663135
##########
sql/core/src/main/scala/org/apache/spark/sql/scripting/SqlScriptingInterpreter.scala:
##########
@@ -40,13 +40,14 @@ case class SqlScriptingInterpreter(session: SparkSession) {
* @param args
* A map of parameter names to SQL literal expressions.
* @return
- * Iterator through collection of statements to be executed.
+ * Top level CompoundBodyExec representing SQL Script to be executed.
*/
def buildExecutionPlan(
compound: CompoundBody,
- args: Map[String, Expression]): Iterator[CompoundStatementExec] = {
- transformTreeIntoExecutable(compound, args)
- .asInstanceOf[CompoundBodyExec].getTreeIterator
+ args: Map[String, Expression],
+ context: SqlScriptingExecutionContext): CompoundBodyExec = {
Review Comment:
Already done.
--
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]