wecharyu opened a new pull request, #13846: URL: https://github.com/apache/gluten/pull/13846
## What changes are proposed in this pull request? The `mapPartitions` closure in `ColumnarPartialProjectExec` captures the enclosing operator and its child plan. Concurrent tasks each deserialize a copy of the plan, which can exhaust executor JVM heap when the child plan is large. Capture the projection aliases, input attributes, column indices, and metrics as local values. Move Arrow conversion to the companion object and build the output schema once per partition from the captured aliases. ## How was this patch tested? Added a regression test in `UDFPartialProjectSuite` that serializes the columnar RDD and fails if serialization encounters the original `ColumnarPartialProjectExec` instance. ## Was this patch authored or co-authored using generative AI tooling? Generated-by: Codex (GPT-6) -- 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]
