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


##########
arrow/src/array/builder/generic_list_builder.rs:
##########
@@ -136,7 +131,7 @@ where
 
         let offset_buffer = self.offsets_builder.finish();
         let null_bit_buffer = self.bitmap_builder.finish();
-        self.offsets_builder.append(self.len);
+        self.offsets_builder.append(OffsetSize::zero());

Review Comment:
   Aah makes sense, diff on phone didn't show it setting the length to 0



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