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


##########
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:
   Added cases where array element 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