cloud-fan commented on pull request #32030:
URL: https://github.com/apache/spark/pull/32030#issuecomment-815903141


   This reminds me of `TimeZoneAwareExpression.withTimeZone` and 
`ImperativeAggregate.withNewMutableAggBufferOffset`. They can be simply 
implemented with case class copy, but unfortunately, Scala is not flexible 
enough to allow you to implement it in a generic way :(


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

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