cloud-fan commented on code in PR #37165:
URL: https://github.com/apache/spark/pull/37165#discussion_r918640337
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/complexTypeCreator.scala:
##########
@@ -605,10 +605,16 @@ case class StringToMap(text: Expression, pairDelim:
Expression, keyValueDelim: E
/**
* Represents an operation to be applied to the fields of a struct.
*/
-trait StructFieldsOperation {
+trait StructFieldsOperation extends Expression with Unevaluable {
Review Comment:
The change here is to make sure we can optimize update field expressions
inside `UpdateFields`.
--
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]