viirya commented on PR #40043:
URL: https://github.com/apache/arrow/pull/40043#issuecomment-1939209718

   > Yes, but it's the buffer size, not the array size. For an empty array, the 
buffer size should be 4 (or 8 for a large offsets type), so the buffer can't be 
null.
   
   Except for empty array, I cannot image any other case that could result in 
empty offset buffer. So I guess that it means we should not never have null 
offset buffer in C data interface?
   
   But from above context and the implementation in arrow-rs, it looks like we 
allow empty offset buffer for empty array?


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

Reply via email to