From 2504fb7d6dbc0a5293af496f6fd115491c7e9b7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Du=C5=A1an=20Ti=C5=A1ma?= Date: Thu, 21 Nov 2024 17:19:02 +0100 Subject: [PATCH] formatting --- .../sql/catalyst/plans/logical/SqlScriptingLogicalPlans.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/SqlScriptingLogicalPlans.scala b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/SqlScriptingLogicalPlans.scala index 517bb1ead71f1..4faf1f5d26672 100644 --- a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/SqlScriptingLogicalPlans.scala +++ b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/SqlScriptingLogicalPlans.scala @@ -290,7 +290,7 @@ case class ForStatement( override def children: Seq[LogicalPlan] = Seq(query, body) override protected def withNewChildrenInternal( - newChildren: IndexedSeq[LogicalPlan]): LogicalPlan = newChildren match { + newChildren: IndexedSeq[LogicalPlan]): LogicalPlan = newChildren match { case IndexedSeq(query: SingleStatement, body: CompoundBody) => ForStatement(query, variableName, body, label) }