sdf-jkl commented on code in PR #8354: URL: https://github.com/apache/arrow-rs/pull/8354#discussion_r2356743648
########## parquet-variant-compute/src/variant_get.rs: ########## @@ -1122,64 +1121,109 @@ mod test { let result = variant_get(&array, options).unwrap(); // Should get StringArray - let expected: ArrayRef = Arc::new(StringArray::from(vec![Some("comedy"), Some("drama")])); + let expected: ArrayRef = + Arc::new(StringArray::from(vec![Some("comedy"), None, Some("drama")])); assert_eq!(&result, &expected); } /// Helper function to create a shredded variant array representing lists /// /// This creates an array that represents: /// Row 0: ["comedy", "drama"] ([0] is shredded, [1] is shredded - perfectly shredded) - /// Row 1: ["horror", null] ([0] is shredded, [1] is binary null - partially shredded) - /// Row 2: ["comedy", "drama", "romance"] (perfectly shredded) Review Comment: This row doesn't bring any additional value for testing, so I removed it. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org