zhengruifeng commented on PR #47984:
URL: https://github.com/apache/spark/pull/47984#issuecomment-2337938335

   has an offline discussion with @panbingkun , another approach maybe:
   the bottleneck is `ArrayData.toXXXArray` that requires a deep copy of the 
whole array, if `ConstantFolding` can convert all foldable arrays to literals 
(with `GenericArrayData` type value), then maybe we can optimize it by override 
`toXXXArray` methods to directly return the `val array` in some 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.

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]

Reply via email to