tobixdev opened a new issue, #8926:
URL: https://github.com/apache/arrow-rs/issues/8926

   **Describe the bug**
   
   The following code snippet panics:
   ```rust
   FixedSizeBinaryArray::new(0,  Buffer::default(), None)
   
   // thread 'array::fixed_size_binary_array::tests::test_constructors' (63734) 
panicked at arrow-array/src/array/fixed_size_binary_array.rs:93:19:
   // attempt to divide by zero
   ```
   
   **To Reproduce**
   
   Run the code from above.
   
   **Expected behavior**
   
   No panic.
   
   **Additional context**
   
   - Surfaced as part of https://github.com/apache/datafusion/pull/18903
   - @Jefffrey showed that this works with the C++ libraray (pyarrow) 
https://github.com/apache/datafusion/pull/18903#issuecomment-3580022677


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