bjchambers opened a new issue #734:
URL: https://github.com/apache/arrow-rs/issues/734


   **Describe the bug**
   
   I believe (based on how struct arrays are created) that all of the field 
arrays should have the same length, and that length corresponds to the length 
of the struct array.
   
   The method `new_null_array` violates this: it creates a null struct array of 
length N with each of the field arrays being empty. This leads to problems when 
accessing the fields of the struct and expecting the number of rows to be 
correct.
   
   https://github.com/apache/arrow-rs/blob/master/arrow/src/array/array.rs#L444
   
   **To Reproduce**
   
   **Expected behavior**
   
   **Additional context**
   


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