jdockerty opened a new pull request, #8434:
URL: https://github.com/apache/arrow-rs/pull/8434

   # Which issue does this PR close?
   
   Closes https://github.com/apache/arrow-rs/issues/8418
   
   # Rationale for this change
   
   The "Safety" section mentions that `type_ids` are used to index into arrays, 
this means that values of 0 are also valid. Which is both a positive/negative 
simaltenously.
   
   The same is also true for `offsets`, there is a check within the 
`UnionArray::try_new` that is validating that `offset < 0`, i.e. the value is 
not negative, but can be `0`.
   
   # What changes are included in this PR?
   
   Documentation/wording changes
   
   # Are these changes tested?
   
   N/A, documentation only.
   
   # Are there any user-facing changes?
   
   N/A
   


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