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

   Closes #10933.
   
   Struct `ArrayData` parent offsets compose with child offsets, but a few 
paths were still treating child data as if parent offset were always zero. This 
updates:
   
   - struct child validation to require `offset + len` child elements
   - struct equality to compare child values at `parent_offset + logical_start`
   - struct `MutableArrayData` extension to copy from the 
parent-offset-adjusted child range
   
   The regression tests cover the concrete cases from #10933: validation, 
equality, and `MutableArrayData::try_extend`.
   
   Validation run locally:
   
   ```
   cargo test -p arrow-data --lib
   cargo fmt --check
   cargo clippy -p arrow-data --lib --tests -- -D warnings
   ```


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