tomsisso commented on code in PR #49190:
URL: https://github.com/apache/spark/pull/49190#discussion_r1886272879
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/aggregate/udaf.scala:
##########
@@ -519,6 +519,7 @@ case class ScalaAggregator[IN, BUF, OUT](
def withNewInputAggBufferOffset(newInputAggBufferOffset: Int):
ScalaAggregator[IN, BUF, OUT] =
copy(inputAggBufferOffset = newInputAggBufferOffset)
+ @transient
private[this] lazy val inputProjection = UnsafeProjection.create(children)
Review Comment:
As far as i get it it's not being accessed in the driver.
This field is accessed and initialized in the executor, as part of
ScalaAggregator#update, and then causes the failure when trying to return a
serialized TaskResult to the driver (which holds the mentioned accumulator).
--
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]