alamb commented on issue #7136:
URL: https://github.com/apache/arrow-rs/issues/7136#issuecomment-6448690199

   technically speaking I think this is the bug:
   
   ```rust
       let data = unsafe {
           arrow::array::ArrayData::builder(DataType::Utf8)
               .len(strings.len())
               .add_buffer(misaligned)
               .add_buffer(strings.values().clone())
               .build_unchecked()
       };
   ```
   
   Calling `build_unchecked` means that the caller guarantees that the buffers 
are valid arrow arrays, including alignment.  I don't think this precondition 
is upheld


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