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


   *Note*: migrated from original JIRA: 
https://issues.apache.org/jira/browse/ARROW-11267
   
   Found this while reviewing the fix for ARROW-11239. The reason for the 
failure seems to be related to the combining of null bitmaps of parent/child 
data. When I changed `create_list_array` to not include null buffers the test 
passes.
   {code:java}
       #[test]
       fn test_list_different_offsets() {
           let a =
               create_list_array(&[Some(&[0, 0]), Some(&[1, 2]), Some(&[3, 
4])]);
           let b =
               create_list_array(&[Some(&[1, 2]), Some(&[3, 4]), Some(&[5, 
6])]);        let a_slice = a.slice(1, 2);
           let b_slice = b.slice(0, 2);
           test_equal(&a_slice, &b_slice, true);
       } {code}
   [~jorgecarleitao] [~nevi_me] FYI


-- 
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:
[email protected]


Reply via email to