alamb commented on a change in pull request #987:
URL: https://github.com/apache/arrow-rs/pull/987#discussion_r759661090



##########
File path: arrow/src/array/data.rs
##########
@@ -293,15 +294,20 @@ impl ArrayData {
             Some(null_count) => null_count,
         };
         let null_bitmap = null_bit_buffer.map(Bitmap::from);
-        Self {
+        let new_self = Self {
             data_type,
             len,
             null_count,
             offset,
             buffers,
             child_data,
             null_bitmap,
-        }
+        };
+
+        // Bug discovery mechanism: call validate_full here

Review comment:
       this is the demo -- it is not for merging, but for demonstrating that 
all the tests pass even when we run `validate_full()` on them




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