chris-twiner commented on code in PR #50023: URL: https://github.com/apache/spark/pull/50023#discussion_r1971206736
########## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/encoders/ExpressionEncoder.scala: ########## @@ -228,7 +236,8 @@ case class ExpressionEncoder[T]( * returns true if `T` is serialized as struct and is not `Option` type. */ def isSerializedAsStructForTopLevel: Boolean = { - isSerializedAsStruct && !classOf[Option[_]].isAssignableFrom(clsTag.runtimeClass) + isSerializedAsStruct && !classOf[Option[_]].isAssignableFrom(clsTag.runtimeClass) && Review Comment: I think it'd make sense, for the path encoder backwards compat logic I can embed / document that in shim. The Builders could embed that. I can take a stab at that post rc2. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org