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


##########
parquet-variant-compute/src/cast_to_variant.rs:
##########
@@ -1258,6 +1258,132 @@ mod tests {
         );
     }
 
+    #[test]
+    fn test_cast_to_variant_list_view() {
+        // Create a ListViewArray with some data
+        let mut builder = ListViewBuilder::new(Int32Array::builder(0));
+        builder.append_value(&Int32Array::from(vec![Some(0), Some(1), 
Some(2)]));
+        builder.append_value(&Int32Array::from(vec![Some(3), Some(4)]));

Review Comment:
   Can you also add please add a test case that has a null as one of the list 
elements (in addition to entire slot that is null)?



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