tustvold commented on code in PR #3158:
URL: https://github.com/apache/arrow-rs/pull/3158#discussion_r1030327493


##########
arrow-array/src/builder/generic_list_builder.rs:
##########
@@ -143,6 +149,39 @@ where
         GenericListArray::<OffsetSize>::from(array_data)
     }
 
+    /// Builds the [`GenericListArray`] without resetting the builder.
+    pub fn finish_cloned(&self) -> GenericListArray<OffsetSize> {
+        let len = self.len();
+        let values_arr = self
+            .values_builder
+            .as_any()
+            .downcast_ref::<T>()
+            .unwrap()
+            .finish_cloned();

Review Comment:
   Likely a holdover from some refactor - I fixed it in #3166 



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