LuciferYang opened a new issue, #13542:
URL: https://github.com/apache/gluten/issues/13542

   Two pieces of native code are never used.
   
   `cpp/core/utils/ArrowStatus.h` has a two-argument 
`arrowGetOrThrow(arrow::Result<T>, const std::string&)`. Nothing calls it, and 
its body calls `ThrowPendingException`, which is not declared anywhere, so it 
only compiles because the template is never instantiated.
   
   `VeloxHashShuffleWriter::complexTypeFlushBuffer_` is resized to one null 
pointer per partition and never assigned. Both complex-type flush paths 
therefore always allocate a new buffer, the `Reserve` branch meant to reuse it 
never runs, and the loop in `estimatePartitionBufferBytes` that adds its 
capacity always adds nothing.
   
   This issue was written with the assistance of AI (Claude Opus).
   


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