cloud-fan commented on a change in pull request #25111: [SPARK-28346][SQL] 
clone the query plan between analyzer, optimizer and planner
URL: https://github.com/apache/spark/pull/25111#discussion_r302386743
 
 

 ##########
 File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/command/SetCommand.scala
 ##########
 @@ -168,4 +168,6 @@ case object ResetCommand extends RunnableCommand with 
IgnoreCachedData {
     sparkSession.sessionState.conf.clear()
     Seq.empty[Row]
   }
+
+  override def clone(): LogicalPlan = this
 
 Review comment:
   The `clone` defined in `TreeNode` doesn't work for case object.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to