vinodkc commented on code in PR #57354:
URL: https://github.com/apache/spark/pull/57354#discussion_r3611701773


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/jsonExpressions.scala:
##########
@@ -518,6 +521,8 @@ case class StructsToJson(
   override protected def withNewChildInternal(newChild: Expression): 
StructsToJson =
     copy(child = newChild)
 
+  override def stateful: Boolean = true

Review Comment:
    Dropped. 
   Since it's RuntimeReplaceable, the override is dead at execution,  the 
sharing via Literal(evaluator) will be addressed by SPARK-58208's deep-copy in 
QueryExecution.optimizedPlan.



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