jhorstmann commented on a change in pull request #8541:
URL: https://github.com/apache/arrow/pull/8541#discussion_r519187056



##########
File path: rust/arrow/src/array/data.rs
##########
@@ -121,7 +120,7 @@ impl ArrayData {
     /// Returns whether the element at index `i` is null
     pub fn is_null(&self, i: usize) -> bool {
         if let Some(ref b) = self.null_bitmap {
-            return !b.is_set(i);
+            return !b.is_set(self.offset + i);

Review comment:
       Thanks a lot, I think I have another ticket that would be fixed by this 
change




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to