atwam commented on issue #50172:
URL: https://github.com/apache/arrow/issues/50172#issuecomment-4710836445

   More specifically for the issue above (apache/arrow-rs#9716), issue wasn't 
just about null vs non-null buffer, but rather the fact that a Utf8/Binary view 
is supposed to have an offset buffer of length N+1, so with a `[0]` content for 
an empty Utf8/Binary array, but some implementations left them to be fully 
empty or null.
   
   I think it's related, but kind of orthogonal to whether a `[]` buffer needs 
to be explicitely encoded or can remain null. Even if an empty buffer can be 
expressed with a null buffer, in the issue above we should still have a 
length-1 offset buffer for an empty array (at least as per the specs)


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