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


##########
arrow-row/src/lib.rs:
##########
@@ -981,6 +981,9 @@ impl Rows {
     /// Sets the length of this [`Rows`] to 0
     pub fn clear(&mut self) {
         self.offsets.truncate(1);
+        unsafe {

Review Comment:
   self.buffer.clear()` I think would achieve the same thing?



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