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


##########
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:
   I agree that converting an arrow ListArray with null elements should result 
in an Variant::List(...) where one of the elements is `Variant::Null`
   
   I am not sure if you asking a question or just making a statement



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