You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "rambleraptor (via GitHub)" <gi...@apache.org> on 2026/09/21 18:08:39 UTC

[I] [C++] Avoid duplicating value offsets buffer for 0-length array slices [arrow]

rambleraptor opened a new issue, #51406:
URL: https://github.com/apache/arrow/issues/51406

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   When serializing a zero-length slice of a variable-length array that has a non-empty offsets buffer, the Arrow IPC writer previously retained the entire unsliced offsets buffer. For use cases which consumed ArrowRecordBatches in sub-batches, this caused unnecessary buffer amplification and sub-batch splitting.
   
   This was a change in behavior due to https://github.com/apache/arrow/pull/46408
   
   ### Component(s)
   
   C++


-- 
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: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [C++] Avoid duplicating value offsets buffer for 0-length array slices [arrow]

Posted by "pitrou (via GitHub)" <gi...@apache.org>.
pitrou commented on issue #51406:
URL: https://github.com/apache/arrow/issues/51406#issuecomment-5792161812

   Can you show an example exhibiting the problem?


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org