ritchie46 commented on pull request #335:
URL: https://github.com/apache/arrow-rs/pull/335#issuecomment-846439340


   > I am a bit uncertain about the spec here: do we require the offset buffer 
to start at 0, or is the requirement that the last value minus the first value 
must be equal to the length of the values buffer? @nevi-me , do you know what 
is the spec here?
   
   Yes, I simply respected the API at this point. We throw an error if [offsets 
do not start at 
zero](https://github.com/apache/arrow-rs/blob/a25cafb5e1e5cbd371433b0ff251386279c0aa6c/arrow/src/array/array_list.rs#L238),
 but we may be stricter than the spec is. 


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to