cloud-fan commented on code in PR #49445:
URL: https://github.com/apache/spark/pull/49445#discussion_r1946879302
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/command/v2/V2CommandStrategy.scala:
##########
@@ -28,13 +28,15 @@ object V2CommandStrategy extends Strategy {
// TODO: move v2 commands to here which are not data source v2 related.
override def apply(plan: LogicalPlan): Seq[SparkPlan] = plan match {
case CreateVariable(ident: ResolvedIdentifier, defaultExpr, replace) =>
- CreateVariableExec(ident.identifier.name, defaultExpr, replace) :: Nil
+ CreateVariableExec(ident, defaultExpr, replace) :: Nil
case DropVariable(ident: ResolvedIdentifier, ifExists) =>
DropVariableExec(ident.identifier.name, ifExists) :: Nil
case SetVariable(variables, query) =>
- SetVariableExec(variables.map(_.asInstanceOf[VariableReference]),
planLater(query)) :: Nil
+ SetVariableExec(
+ variables.map(_.asInstanceOf[VariableReference]),
Review Comment:
unnecessary 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]