alamb commented on code in PR #7726:
URL: https://github.com/apache/arrow-rs/pull/7726#discussion_r2160318478


##########
arrow-array/src/array/null_array.rs:
##########
@@ -201,4 +204,32 @@ mod tests {
         let array = NullArray::new(1024 * 1024);
         assert_eq!(format!("{array:?}"), "NullArray(1048576)");
     }
+
+    #[test]
+    fn test_null_array_with_parent_null_buffer() {

Review Comment:
   I verified that this PR fails without the code change in this PR
   
   ```
   
   NullArray data should not contain a null buffer, as no buffers are required
   thread 'array::null_array::tests::test_null_array_with_parent_null_buffer' 
panicked at arrow-array/src/array/null_array.rs:149:9:
   NullArray data should not contain a null buffer, as no buffers are required
   ```



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