cloud-fan commented on code in PR #49445:
URL: https://github.com/apache/spark/pull/49445#discussion_r1948357356


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/command/v2/SetVariableExec.scala:
##########
@@ -17,26 +17,29 @@
 
 package org.apache.spark.sql.execution.command.v2
 
+import java.util.Locale
+
 import org.apache.spark.SparkException
-import org.apache.spark.sql.catalyst.InternalRow
-import org.apache.spark.sql.catalyst.catalog.TempVariableManager
+import org.apache.spark.sql.catalyst.{InternalRow, 
SqlScriptingLocalVariableManager}
+import org.apache.spark.sql.catalyst.analysis.FakeLocalCatalog
 import org.apache.spark.sql.catalyst.expressions.{Attribute, Literal, 
VariableReference}
 import org.apache.spark.sql.catalyst.trees.UnaryLike
+import 
org.apache.spark.sql.errors.QueryCompilationErrors.unresolvedVariableError
 import org.apache.spark.sql.execution.SparkPlan
 import org.apache.spark.sql.execution.datasources.v2.V2CommandExec
 
 /**
  * Physical plan node for setting a variable.
  */
-case class SetVariableExec(variables: Seq[VariableReference], query: SparkPlan)
-  extends V2CommandExec with UnaryLike[SparkPlan] {
+case class SetVariableExec(
+    variables: Seq[VariableReference],
+    query: SparkPlan) extends V2CommandExec with UnaryLike[SparkPlan] {

Review Comment:
   unnecessary code style change



-- 
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]

Reply via email to