AlenkaF commented on issue #40750:
URL: https://github.com/apache/arrow/issues/40750#issuecomment-2020284706

   > I might be confused, but shouldn't field_data.length be compared to the 
the offset of the last position (something like data.offsets[data.offset + 
data.length])?
   
   Not sure.
   
   I am thinking more in a direction that a check should be added here:
   
https://github.com/apache/arrow/blob/2b0427559d94fb25ce61672c1ed17fc245d0a546/cpp/src/arrow/array/validate.cc#L266-L269
   
   for when the length of the children array is less than the length of offsets 
+ the offset or something similar.


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