cloud-fan commented on code in PR #44591:
URL: https://github.com/apache/spark/pull/44591#discussion_r1442459234
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/objects/objects.scala:
##########
@@ -938,6 +939,14 @@ case class MapObjects private(
executeFuncOnCollection(input).foreach(builder += _)
mutable.ArraySeq.make(builder.result())
}
+ case Some(cls) if classOf[immutable.ArraySeq[_]].isAssignableFrom(cls) =>
Review Comment:
not related to this PR, but this `MapObjects` expression gets more and more
complicated. Can we rewrite it with `RuntimeReplacable` using
`StaticInvoke/Invoke` so that we can implement it with pure scala?
--
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]