carpecodeum commented on code in PR #7965:
URL: https://github.com/apache/arrow-rs/pull/7965#discussion_r2218139338


##########
parquet-variant-compute/src/variant_array_builder.rs:
##########
@@ -146,7 +146,7 @@ impl VariantArrayBuilder {
     }
 
     /// Append the [`Variant`] to the builder as the next row
-    pub fn append_variant(&mut self, variant: Variant) {
+    pub fn append_variant<'m, 'v>(&mut self, variant: impl Into<Variant<'m, 
'v>>) {
         // TODO make this more efficient by avoiding the intermediate buffers

Review Comment:
   Could we implement the approach @scovich  suggested about invoking primitive 
append_xxx methods directly instead of using intermediate VariantBuilder?



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

Reply via email to