scovich commented on code in PR #8638:
URL: https://github.com/apache/arrow-rs/pull/8638#discussion_r2441371283


##########
parquet-variant-compute/src/variant_to_arrow.rs:
##########
@@ -545,3 +557,21 @@ impl VariantToBinaryVariantArrowRowBuilder {
         Ok(ArrayRef::from(variant_array))
     }
 }
+
+trait AppendValueTrait {
+    // NullBuilder will always append `()`
+    fn append_value(&mut self, v: ());
+}
+
+impl AppendValueTrait for NullBuilder {

Review Comment:
   `NullArray` (with `DataType::Null`) is not the same as an array (of some 
arbitrary other type) full of nulls tho? But if we know the intended type, then 
I agree that `new_null_array` is better (since `NullArray::is_null` always 
returns false = weird)



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